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,

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/sPG9n000000000000000000000000000000000000000000000RKEP2E007ZO3IrQqQLWkS9Yw8pgS8w%40sfdc.net.
  • 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