Hello,

Thanks for the response. This helps me a lot but I am running into an 
issue. If I try to send the request I get the error: 
CAMPAIGN_CANNOT_USE_SHARED_BUDGET. I dont understand why I get this error 
becouse the budget isn't shared. Do you know how I can fix this?

[image: Schermafbeelding 2022-10-27 123611.jpg]

Regards,

Jip Veerbeek



On Thursday, October 27, 2022 at 11:59:16 AM UTC+2 adsapi wrote:

> Hi Jip,
>
> Thanks for getting back to us.
>
> You may use the CURL below to create a PMAX campaign:
>
>
> curl -f --request POST 
> "https://googleads.googleapis.com/v${API_VERSION}/customers/${CUSTOMER_ID}/campaigns:mutate";
>  \
>
> --header "Content-Type: application/json" \
>
> --header "developer-token: ${DEVELOPER_TOKEN}" \
>
> --header "login-customer-id: ${MANAGER_CUSTOMER_ID}" \
>
> --header "Authorization: Bearer ${OAUTH2_ACCESS_TOKEN}" \
>
> --data "{
>
> 'operations': [
>
>   {
>
>     'create': {
>
>      'resourceName': "customers/<your customer id>/campaigns/-1",
>
>       'status': 'PAUSED',
>
>       'advertisingChannelType': 'PERFORMANCE_MAX',
>
>      'biddingStrategyType': 'MAXIMIZE_CONVERSION_VALUE',
>
>       'maximizeConversionValue': {
>
>         'targetRoas': '0.5'
>
>       },
>
>      'name': 'My first PMAX campaign',
>
>       'campaignBudget': "customers/<your customer id>/campaignBudgets/<your 
> campbudget id>",
>
>       'urlExpansionOptOut': false
>
>     }
>
>   }
>
> ]
>
> }
>
> "
>
>  
>
> Let me know if this helps.
>
> Regards,
> [image: Google Logo] 
> Yasar 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2foOVp: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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4547aeed-4673-4a0d-ae97-01a981b65661n%40googlegroups.com.
  • cr... Jip Veerbeek
    • ... Jip Veerbeek
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
        • ... Jip Veerbeek
          • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
            • ... Jip Veerbeek
              • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
                • ... Jip Veerbeek

Reply via email to