Having trouble creating Hotel Ads campaign (NOT_COMPATIBLE_WITH_PAYMENT_MODE)

2021-05-11 Thread Steve Wilcox
Via the API, I created a campaign budget:

{ 
 "campaignBudget": { 
 "status": "ENABLED",
  "deliveryMethod": "STANDARD", 
  "type": "HOTEL_ADS_COMMISSION", 
"amountMicros": "2000", 
"explicitlyShared": false, 
  "referenceCount": "0" } 
 }

I am now trying to create a campaign to use it:
{
  "operations": [
{
  "create": {
"name": "New Hotels Campaign",
"status": 2,
"campaignBudget": ,
"advertisingChannelType": 5,
"commission": {
  "commissionRateMicros": 10
},
"hotelSetting": {
  "hotelCenterId": 
}
  }
}
  ]
}

When I try, though, I get  NOT_COMPATIBLE_WITH_PAYMENT_MODE.  If I am 
understanding everything correctly, it's trying to create the campaign with 
the wrong payment mode.  I can't specify the payment mode on campaign 
creation, though, so how do I set it properly?

{
  "error": {
"code": 400,
"message": "Request contains an invalid argument.",
"status": "INVALID_ARGUMENT",
"details": [
  {
"@type": 
"type.googleapis.com/google.ads.googleads.v6.errors.GoogleAdsFailure",
"errors": [
  {
"errorCode": {
  "biddingError": "NOT_COMPATIBLE_WITH_PAYMENT_MODE"
},
"message": "The field is not compatible with the payment mode.",
"trigger": {
  "stringValue": "BUDGET_TYPE_HOTEL_ADS_COMMISSION"
},
"location": {
  "fieldPathElements": [
{
  "fieldName": "operations",
  "index": 0
},
{
  "fieldName": "create"
},
{
  "fieldName": "campaign_budget"
}
  ]
}
  },
  {
"errorCode": {
  "biddingError": "NOT_COMPATIBLE_WITH_PAYMENT_MODE"
},
"message": "The field is not compatible with the payment mode.",
"trigger": {
  "stringValue": "COMMISSION"
},
"location": {
  "fieldPathElements": [
{
  "fieldName": "operations",
  "index": 0
},
{
  "fieldName": "create"
},
{
  "fieldName": "commission"
}
  ]
}
  }
]
  }
]
  }
}

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/0ac636c7-6fd1-4884-ba71-1fac9332a277n%40googlegroups.com.


Re: Having trouble creating Hotel Ads campaign (NOT_COMPATIBLE_WITH_PAYMENT_MODE)

2021-06-14 Thread Google Ads API Forum Advisor
Hi Steve,

Glad to hear that you managed to make it work. That said, could you confirm if 
you have additional clarifications for our team regarding this topic?

Best regards,

Peter Laurence Napa Oliquino
Google Ads API Team
ref:_00D1U1174p._5004Q2I0AR4:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/LBkSj0QUOREO003lRKFBlRSj2Cgmwx2QIEfw%40sfdc.net.


Re: Having trouble creating Hotel Ads campaign (NOT_COMPATIBLE_WITH_PAYMENT_MODE)

2021-06-14 Thread Steve Wilcox
No, I don't think I do.

On Mon, Jun 14, 2021 at 3:52 AM Google Ads API Forum Advisor
 wrote:

> Hi Steve,
>
> Glad to hear that you managed to make it work. That said, could you
> confirm if you have additional clarifications for our team regarding this
> topic?
>
> Best regards,
>
> [image: Google Logo]
> Peter Laurence Napa Oliquino
> Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q2I0AR4:ref
>
> --
> --
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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 a topic in the
> Google Groups "AdWords API and Google Ads API Forum" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/adwords-api/_0LlDnUEeSo/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> adwords-api+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/adwords-api/LBkSj0QUOREO003lRKFBlRSj2Cgmwx2QIEfw%40sfdc.net
> 
> .
>


-- 
Steve Wilcox
Developer | ResNexus
swil...@convoyant.com | ResNexus.com

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/CANALui7Dz%2BT2_RW_wf5%3DD%3DrkwvDT46uqed5f_yH7Xm323aTqAA%40mail.gmail.com.


Re: Having trouble creating Hotel Ads campaign (NOT_COMPATIBLE_WITH_PAYMENT_MODE)

2021-05-13 Thread Steve Wilcox
Been banging my head against this for a few days.  Reviewing a few 
campaigns that do what I want to do that were created in the UI, it appears 
that the paymentMode I'm looking for is CONVERSION_VALUE (3).
But I can't seem to figure out what other fields to populate that will make 
the API decide that's what paymentMode I'm looking for (since I can't 
specify it in the request).

This can be accomplished through the UI with little effort.  I just need to 
figure out how to do it through the API

On Tuesday, May 11, 2021 at 10:49:31 AM UTC-6 Steve Wilcox wrote:

> Via the API, I created a campaign budget:
>
> { 
>  "campaignBudget": { 
>  "status": "ENABLED",
>   "deliveryMethod": "STANDARD", 
>   "type": "HOTEL_ADS_COMMISSION", 
> "amountMicros": "2000", 
> "explicitlyShared": false, 
>   "referenceCount": "0" } 
>  }
>
> I am now trying to create a campaign to use it:
> {
>   "operations": [
> {
>   "create": {
> "name": "New Hotels Campaign",
> "status": 2,
> "campaignBudget": ,
> "advertisingChannelType": 5,
> "commission": {
>   "commissionRateMicros": 10
> },
> "hotelSetting": {
>   "hotelCenterId": 
> }
>   }
> }
>   ]
> }
>
> When I try, though, I get  NOT_COMPATIBLE_WITH_PAYMENT_MODE.  If I am 
> understanding everything correctly, it's trying to create the campaign with 
> the wrong payment mode.  I can't specify the payment mode on campaign 
> creation, though, so how do I set it properly?
>
> {
>   "error": {
> "code": 400,
> "message": "Request contains an invalid argument.",
> "status": "INVALID_ARGUMENT",
> "details": [
>   {
> "@type": "
> type.googleapis.com/google.ads.googleads.v6.errors.GoogleAdsFailure",
> "errors": [
>   {
> "errorCode": {
>   "biddingError": "NOT_COMPATIBLE_WITH_PAYMENT_MODE"
> },
> "message": "The field is not compatible with the payment 
> mode.",
> "trigger": {
>   "stringValue": "BUDGET_TYPE_HOTEL_ADS_COMMISSION"
> },
> "location": {
>   "fieldPathElements": [
> {
>   "fieldName": "operations",
>   "index": 0
> },
> {
>   "fieldName": "create"
> },
> {
>   "fieldName": "campaign_budget"
> }
>   ]
> }
>   },
>   {
> "errorCode": {
>   "biddingError": "NOT_COMPATIBLE_WITH_PAYMENT_MODE"
> },
> "message": "The field is not compatible with the payment 
> mode.",
> "trigger": {
>   "stringValue": "COMMISSION"
> },
> "location": {
>   "fieldPathElements": [
> {
>   "fieldName": "operations",
>   "index": 0
> },
> {
>   "fieldName": "create"
> },
> {
>   "fieldName": "commission"
> }
>   ]
> }
>   }
> ]
>   }
> ]
>   }
> }
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e3075ac8-85fb-4f5c-b095-c7d81246b991n%40googlegroups.com.


Re: Having trouble creating Hotel Ads campaign (NOT_COMPATIBLE_WITH_PAYMENT_MODE)

2021-06-03 Thread AdWords API and Google Ads API Forum
Reposting the last inquiry (
https://groups.google.com/g/adwords-api/c/_0LlDnUEeSo/m/MchYvY4DBwAJ 
) 
from the forum as it wasn't routed to our support queue. 

Thanks, 

*Peter Laurence Napa Oliquino *
Google Ads API Team 

On Friday, May 14, 2021 at 1:59:51 AM UTC+8 swi...@convoyant.com wrote:

> Been banging my head against this for a few days.  Reviewing a few 
> campaigns that do what I want to do that were created in the UI, it appears 
> that the paymentMode I'm looking for is CONVERSION_VALUE (3).
> But I can't seem to figure out what other fields to populate that will 
> make the API decide that's what paymentMode I'm looking for (since I can't 
> specify it in the request).
>
> This can be accomplished through the UI with little effort.  I just need 
> to figure out how to do it through the API
>
> On Tuesday, May 11, 2021 at 10:49:31 AM UTC-6 Steve Wilcox wrote:
>
>> Via the API, I created a campaign budget:
>>
>> { 
>>  "campaignBudget": { 
>>  "status": "ENABLED",
>>   "deliveryMethod": "STANDARD", 
>>   "type": "HOTEL_ADS_COMMISSION", 
>> "amountMicros": "2000", 
>> "explicitlyShared": false, 
>>   "referenceCount": "0" } 
>>  }
>>
>> I am now trying to create a campaign to use it:
>> {
>>   "operations": [
>> {
>>   "create": {
>> "name": "New Hotels Campaign",
>> "status": 2,
>> "campaignBudget": ,
>> "advertisingChannelType": 5,
>> "commission": {
>>   "commissionRateMicros": 10
>> },
>> "hotelSetting": {
>>   "hotelCenterId": 
>> }
>>   }
>> }
>>   ]
>> }
>>
>> When I try, though, I get  NOT_COMPATIBLE_WITH_PAYMENT_MODE.  If I am 
>> understanding everything correctly, it's trying to create the campaign with 
>> the wrong payment mode.  I can't specify the payment mode on campaign 
>> creation, though, so how do I set it properly?
>>
>> {
>>   "error": {
>> "code": 400,
>> "message": "Request contains an invalid argument.",
>> "status": "INVALID_ARGUMENT",
>> "details": [
>>   {
>> "@type": "
>> type.googleapis.com/google.ads.googleads.v6.errors.GoogleAdsFailure",
>> "errors": [
>>   {
>> "errorCode": {
>>   "biddingError": "NOT_COMPATIBLE_WITH_PAYMENT_MODE"
>> },
>> "message": "The field is not compatible with the payment 
>> mode.",
>> "trigger": {
>>   "stringValue": "BUDGET_TYPE_HOTEL_ADS_COMMISSION"
>> },
>> "location": {
>>   "fieldPathElements": [
>> {
>>   "fieldName": "operations",
>>   "index": 0
>> },
>> {
>>   "fieldName": "create"
>> },
>> {
>>   "fieldName": "campaign_budget"
>> }
>>   ]
>> }
>>   },
>>   {
>> "errorCode": {
>>   "biddingError": "NOT_COMPATIBLE_WITH_PAYMENT_MODE"
>> },
>> "message": "The field is not compatible with the payment 
>> mode.",
>> "trigger": {
>>   "stringValue": "COMMISSION"
>> },
>> "location": {
>>   "fieldPathElements": [
>> {
>>   "fieldName": "operations",
>>   "index": 0
>> },
>> {
>>   "fieldName": "create"
>> },
>> {
>>   "fieldName": "commission"
>> }
>>   ]
>> }
>>   }
>> ]
>>   }
>> ]
>>   }
>> }
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/443447b2-0136-4a93-8042-dc96ceeb1eefn%40googlegroups.com.


RE: Having trouble creating Hotel Ads campaign (NOT_COMPATIBLE_WITH_PAYMENT_MODE)

2021-06-07 Thread Google Ads API Forum Advisor
Hi,

This guide discusses how you can use the commission strategy on your hotel 
campaigns. The PaymentMode would need to be :

To use a commission strategy, you will also need to set the PaymentMode enum to 
either CONVERSION_VALUE (requires BudgetType.HOTEL_ADS_COMMISSION) or 
GUEST_STAY (requires BudgetType.STANDARD). Also note that a commission strategy 
is not compatible with a shared budget.

That said, could you confirm if the above was the current setting when the 
error occurred?

If you continue to encounter the error, you may provide the complete request 
and response logs, with the request-id, so our team can investigate further. 
You may then send the requested information via the Reply privately to author 
option. If this option is not available, you may send the details directly to 
our googleadsapi-supp...@google.com alias instead.

Best regards,

Peter Laurence Napa Oliquino
Google Ads API Team
ref:_00D1U1174p._5004Q2I0AR4:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/lytBD0QUD2CN00Ldq9vszaRvyH5ovZYuonag%40sfdc.net.


Re: Having trouble creating Hotel Ads campaign (NOT_COMPATIBLE_WITH_PAYMENT_MODE)

2021-06-08 Thread Steve Wilcox
I did manage to get it working, but the piecemeal nature of my changes
means I'm not sure what I changed to get it there.

On Mon, Jun 7, 2021 at 8:17 PM Google Ads API Forum Advisor
 wrote:

> Hi,
>
> This guide
> 
> discusses how you can use the commission strategy on your hotel campaigns.
> The PaymentMode
> 
> would need to be :
>
> *To use a commission strategy, you will also need to set the PaymentMode
> enum to either CONVERSION_VALUE (requires BudgetType.HOTEL_ADS_COMMISSION)
> or GUEST_STAY (requires BudgetType.STANDARD). Also note that a commission
> strategy is not compatible with a shared budget.*
>
> That said, could you confirm if the above was the current setting when the
> error occurred?
>
> If you continue to encounter the error, you may provide the complete
> request
> 
> and response
> 
> logs, with the request-id
> ,
> so our team can investigate further. You may then send the requested
> information via the *Reply privately to author* option. If this option is
> not available, you may send the details directly to our 
> *googleadsapi-supp...@google.com
> * alias instead.
>
> Best regards,
>
> [image: Google Logo]
> Peter Laurence Napa Oliquino
> Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q2I0AR4:ref
>
> --
> --
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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 a topic in the
> Google Groups "AdWords API and Google Ads API Forum" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/adwords-api/_0LlDnUEeSo/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> adwords-api+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/adwords-api/lytBD0QUD2CN00Ldq9vszaRvyH5ovZYuonag%40sfdc.net
> 
> .
>


-- 
Steve Wilcox
Developer | ResNexus
swil...@convoyant.com | ResNexus.com

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/CANALui5Cx7q592zua0Yq%3DSAXjYdLWZNrCiaPZFmKMgzc2rGGJw%40mail.gmail.com.