Hi,

As per logs, I could see that you are getting 
OPERATION_NOT_PERMITTED_FOR_CONTEXT error while creating the performance max 
campaign. In order to avoid the said error, kindly create appropriate bidding 
strategies as for Pmax campaigns the only applicable bidding strategies are 
'Maximize Conversions' and 'Maximize conversion values' and for Pmax campaigns 
while creating the campaign budgets make sure that "explicitlyShared": false. 
Also refer to the video for more information.

Kindly refer to the below sample request for creating Pmax campaign using 
campaignOperation:

{
  "operations": [
    {
      "create": {
        "name": "A performance max campaign 1",
        "campaignBudget": 
"customers/{customerId}/campaignBudgets/{campaign_budget_id}",
        "advertisingChannelType": "PERFORMANCE_MAX",
        "maximizeConversions": {
          "targetCpaMicros": xxxxx
        }
      }
    }
  ]
}


I tried to create the Pmax campaign by my end and was able to get the results. 
So, I would suggest you to try the above request from your end and let us know, 
how this goes on your end.
This message is in relation to case "ref:!00D1U01174p.!5004Q02vEHGt:ref" 
(ADR-00259937)

Thanks,

Google Ads API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/J1cd4000000000000000000000000000000000000000000000SHHTAV00feMQfVTtTcSTlh2pgANssA%40sfdc.net.
  • Un... Darshan Dhabale
    • ... Darshan Dhabale
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
        • ... Darshan Dhabale

Reply via email to