Re: BiddingErrors not compatible with payment mode campaign pay for conversions

2020-08-04 Thread Google Ads API Forum Advisor Prod
Hello,

Apologies that I assumed the wrong API. No, unfortunately this functionality 
does not exist in the AdWords API.

Regards,
Mike, Google Ads API Team
ref:_00D1U1174p._5004Q23HFVX: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/zKg8U0QEJQUN0062xDioePTK68-xfi5Gr9Ug%40sfdc.net.


Re: BiddingErrors not compatible with payment mode campaign pay for conversions

2020-08-04 Thread Steven Horvat
Does this functionality exist in the *Adwords API*? We are not yet using 
the Google Ads API Beta.

On Tuesday, August 4, 2020 at 7:52:33 AM UTC-5, adsapiforumadvisor wrote:
>
> Hello,
>
> You should be able to solve this by using a budget with a budget type of 
> FIXED_CPA, rather than STANDARD. Let me know if this helps.
>
> Regards,
> Mike, Google Ads API Team
>
> ref:_00D1U1174p._5004Q23HFVX: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/a0d5ad7d-c523-44da-b0a5-3115fcb2d450o%40googlegroups.com.


RE: BiddingErrors not compatible with payment mode campaign pay for conversions

2020-08-04 Thread Google Ads API Forum Advisor Prod
Hello,

You should be able to solve this by using a budget with a budget type of 
FIXED_CPA, rather than STANDARD. Let me know if this helps.

Regards,
Mike, Google Ads API Team
ref:_00D1U1174p._5004Q23HFVX: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/pdb4e0QEJIEX00m-W-zWiUTfeMtaq13Guo7w%40sfdc.net.


Re: BiddingErrors not compatible with payment mode campaign pay for conversions

2020-08-03 Thread Steven Horvat
Did anyone ever resolve this? I'm experiencing the same issue. Using the 
adwords API PHP SDK. If I attempt to update the budget of a campaign thats 
set to 'pay for conversions' I get the same error: 

faultMessage=[BiddingErrors.NOT_COMPATIBLE_WITH_PAYMENT_MODE @ 
operations[0].operand.budget; trigger:'BUDGET_TYPE_ADWORDS'] 

On Thursday, May 9, 2019 at 4:09:42 PM UTC-5, David Grau wrote:
>
> Hi,
> i tried to change daily budget for my campaigns with CampaignService and 
> BudgetService but it fails when the campaign is  on "Pay for conversions 
> mode".
>
> $budgetService = $adWordsServices->get($session, 
>> BudgetService::class);
>> $operations = [];
>> $budget = new Budget();
>> $budget->setName($name." - ".$date." - ".uniqid());
>> $money = new Money();
>> $money->setMicroAmount($amount*100);
>> $budget->setAmount($money);
>> $budget->setDeliveryMethod(BudgetBudgetDeliveryMethod::STANDARD);
>> $operation = new BudgetOperation();
>> $operation->setOperand($budget);
>> $operation->setOperator(Operator::ADD);
>> $operations[] = $operation;
>> // Create the budget on the server.
>> $result = $budgetService->mutate($operations);
>> $budget = $result->getValue()[0];
>> $campaignService = $adWordsServices->get($session, 
>> CampaignService::class);
>> $operations = [];
>> $campaign = new Campaign($campaignId);
>> $campaign->getBudget()->setBudgetId($budget->getBudgetId());
>> $operation = new CampaignOperation();
>> $operation->setOperand($campaign);
>> $operation->setOperator(Operator::SET);
>> $operations[] = $operation;
>> $result = $campaignService->mutate($operations);
>
>
> The error is:
>
> Fatal error: Uncaught exception 
>> 'Google\AdsApi\AdWords\v201809\cm\ApiException' with message 
>> '[BiddingErrors.NOT_COMPATIBLE_WITH_PAYMENT_MODE @ 
>> operations[0].operand.budget; trigger:'BUDGET_TYPE_ADWORDS']' in 
>> /var/www/html/apis/adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/Util/Reflection.php:43
>>  
>> Stack trace: #0 
>> /var/www/html/apis/adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/Util/Reflection.php(43):
>>  
>> ReflectionClass->newInstanceArgs(Array) #1 
>> /var/www/html/apis/adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/AdsSoapClient.php(203):
>>  
>> Google\AdsApi\Common\Util\Reflection->createInstance('Google\\AdsApi\\A...', 
>> '[BiddingErrors') #2 
>> /var/www/html/apis/adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/AdsSoapClient.php(164):
>>  
>> Google\AdsApi\Common\AdsSoapClient->parseApiExceptionFromSoapFault(Object(SoapFault))
>>  
>> #3 /var/www/html/apis/adwords/vendor/googleads/ in 
>> /var/www/html/apis/adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/Util/Reflection.php
>>  
>> on line 43
>
>
> what should I do to change the daily budget in "Pay for conversions" 
> campaigns?
>
> 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a84411f2-e1d4-402a-8dce-feeae0d4bb86o%40googlegroups.com.


RE: BiddingErrors not compatible with payment mode campaign pay for conversions

2020-03-17 Thread Google Ads API Forum Advisor Prod
Hi,

Thank you for reaching out. Can you please provide the complete detailed 
request and response logs via Reply privately to author so that I can further 
investigate the issue? You can find information on enabling logging in the 
ReadMe of your client library.

Regards,
Mitchell
Google Ads API Team
ref:_00D1U1174p._5001UXVIn7: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/XobwF0Q7CRI400jDL-pw7VTKCaWurjGKZK6A%40sfdc.net.


Re: BiddingErrors not compatible with payment mode campaign pay for conversions

2020-03-17 Thread Łukasz Karpeta
Hi, 
Also having this issue with CPA bidding strategy with pay for conversions.
BiddingErrors.NOT_COMPATIBLE_WITH_PAYMENT_MODE @ 
operations[0].operand.budget; trigger:‘BUDGET_TYPE_ADWORDS'

I've tried in both Adwords API and Google Ads API and it doesn't work. 
It only works via UI or adwords script.

Please Advise



W dniu piątek, 10 maja 2019 09:21:14 UTC+2 użytkownik 
googleadsapi-forumadvisor napisał:
>
> Hi David,
>
> So I can further investigate, could you provide the complete SOAP request 
> and response logs that were generated when the 
> BiddingErrors.NOT_COMPATIBLE_WITH_PAYMENT_MODE 
> error occurred? If you haven't yet, you may enable SOAP logging for your 
> PHP client library by referring to this guide 
> .
>
> Once enabled, you may send the generated logs privately via the *Reply 
> privately to author* option.
>
> Thanks and regards,
> Peter
> Google Ads API Team
>
> On 05/09/19 22:32:50 davi...@funiber.org  wrote:
>
> Hi,
> i tried to change daily budget for my campaigns with CampaignService and 
> BudgetService but it fails when the campaign is  on "Pay for conversions 
> mode".
>
> $budgetService = $adWordsServices->get($session, 
> BudgetService::class);
> $operations = [];
> $budget = new Budget();
> $budget->setName($name." - ".$date." - ".uniqid());
> $money = new Money();
> $money->setMicroAmount($amount*100);
> $budget->setAmount($money);
> $budget->setDeliveryMethod(BudgetBudgetDeliveryMethod::STANDARD);
> $operation = new BudgetOperation();
> $operation->setOperand($budget);
> $operation->setOperator(Operator::ADD);
> $operations[] = $operation;
> // Create the budget on the server.
> $result = $budgetService->mutate($operations);
> $budget = $result->getValue()[0];
> $campaignService = $adWordsServices->get($session, 
> CampaignService::class);
> $operations = [];
> $campaign = new Campaign($campaignId);
> $campaign->getBudget()->setBudgetId($budget->getBudgetId());
> $operation = new CampaignOperation();
> $operation->setOperand($campaign);
> $operation->setOperator(Operator::SET);
> $operations[] = $operation;
> $result = $campaignService->mutate($operations);
>
>
> The error is:
>
> Fatal error: Uncaught exception 
> 'Google\AdsApi\AdWords\v201809\cm\ApiException' with message 
> '[BiddingErrors.NOT_COMPATIBLE_WITH_PAYMENT_MODE @ 
> operations[0].operand.budget; trigger:'BUDGET_TYPE_ADWORDS']' in 
> /var/www/html/apis/adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/Util/Reflection.php:43
>  
> Stack trace: #0 
> /var/www/html/apis/adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/Util/Reflection.php(43):
>  
> ReflectionClass->newInstanceArgs(Array) #1 
> /var/www/html/apis/adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/AdsSoapClient.php(203):
>  
> Google\AdsApi\Common\Util\Reflection->createInstance('Google\\AdsApi\\A...', 
> '[BiddingErrors') #2 
> /var/www/html/apis/adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/AdsSoapClient.php(164):
>  
> Google\AdsApi\Common\AdsSoapClient->parseApiExceptionFromSoapFault(Object(SoapFault))
>  
> #3 /var/www/html/apis/adwords/vendor/googleads/ in 
> /var/www/html/apis/adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/Util/Reflection.php
>  
> on line 43
>
>
> what should I do to change the daily budget in "Pay for conversions" 
> campaigns?
>
> 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/f13d6b09-d0c8-459b-a301-fb503d390e07%40googlegroups.com
>  
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdev

RE: BiddingErrors not compatible with payment mode campaign pay for conversions

2019-05-10 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi David,

So I can further investigate, could you provide the complete SOAP request
and response logs that were generated when the  
BiddingErrors.NOT_COMPATIBLE_WITH_PAYMENT_MODE

error occurred? If you haven't yet, you may enable SOAP logging for your
PHP client library by referring to this guide
.

Once enabled, you may send the generated logs privately via the *Reply
privately to author* option.

Thanks and regards,
Peter
Google Ads API Team

On 05/09/19 22:32:50 david.g...@funiber.org wrote:

Hi,
i tried to change daily budget for my campaigns with CampaignService and
BudgetService but it fails when the campaign is  on "Pay for conversions
mode".

$budgetService = $adWordsServices->get($session,
BudgetService::class);
$operations = [];
$budget = new Budget();
$budget->setName($name." - ".$date." - ".uniqid());
$money = new Money();
$money->setMicroAmount($amount*100);
$budget->setAmount($money);
$budget->setDeliveryMethod(BudgetBudgetDeliveryMethod::STANDARD);
$operation = new BudgetOperation();
$operation->setOperand($budget);
$operation->setOperator(Operator::ADD);
$operations[] = $operation;
// Create the budget on the server.
$result = $budgetService->mutate($operations);
$budget = $result->getValue()[0];
$campaignService = $adWordsServices->get($session,
CampaignService::class);
$operations = [];
$campaign = new Campaign($campaignId);
$campaign->getBudget()->setBudgetId($budget->getBudgetId());
$operation = new CampaignOperation();
$operation->setOperand($campaign);
$operation->setOperator(Operator::SET);
$operations[] = $operation;
$result = $campaignService->mutate($operations);


The error is:

Fatal error: Uncaught exception
'Google\AdsApi\AdWords\v201809\cm\ApiException' with message
'[BiddingErrors.NOT_COMPATIBLE_WITH_PAYMENT_MODE @
operations[0].operand.budget; trigger:'BUDGET_TYPE_ADWORDS']' in
/var/www/html/apis/adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/Util/Reflection.php:43
Stack trace: #0
/var/www/html/apis/adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/Util/Reflection.php(43):
ReflectionClass->newInstanceArgs(Array) #1
/var/www/html/apis/adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/AdsSoapClient.php(203):
Google\AdsApi\Common\Util\Reflection->createInstance('Google\\AdsApi\\A...',
'[BiddingErrors') #2
/var/www/html/apis/adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/AdsSoapClient.php(164):
Google\AdsApi\Common\AdsSoapClient->parseApiExceptionFromSoapFault(Object(SoapFault))
#3 /var/www/html/apis/adwords/vendor/googleads/ in
/var/www/html/apis/adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/Util/Reflection.php
on line 43


what should I do to change the daily budget in "Pay for conversions"
campaigns?

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/f13d6b09-d0c8-459b-a301-fb503d390e07%40googlegroups.com

.
For more options, visit https://groups.google.com/d/optout.

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