Thanks for the help
I was able to create the performance max campaign with that budding strategy

On Wednesday, July 31, 2024 at 8:22:48 PM UTC+5:30 Google Ads API Forum 
Advisor wrote:

> Hi,
>
> As per logs, I could see that you are getting 
> OPERATION_NOT_PERMITTED_FOR_CONTEXT 
> <https://developers.google.com/google-ads/api/reference/rpc/v16/ContextErrorEnum.ContextError#:~:text=in%20this%20version.-,OPERATION_NOT_PERMITTED_FOR_CONTEXT,-The%20operation%20is>
>  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 
> <https://developers.google.com/google-ads/api/videos/catalog/pmax-3> for 
> more information.
>
> Kindly refer to the below sample request for creating Pmax campaign using 
> campaignOperation 
> <https://developers.google.com/google-ads/api/rest/reference/rest/v17/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,
>   
> [image: Google Logo] 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/58b0060f-93da-46e8-a409-977225737baan%40googlegroups.com.
  • Un... Darshan Dhabale
    • ... Darshan Dhabale
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
        • ... Darshan Dhabale

Reply via email to