cURL
curl --request POST \ --url https://public.plai.io/gads/update_campaign_status \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "userId": "<string>", "campaignId": "<string>", "status": "<string>" }'
{ "success": true, "results": { "success": true, "error": "<string>" } }
This endpoint allows you to change the current status of an existing Google Search campaign. Depending on your needs, you can enable, pause, or remove the campaign by updating its status using the provided campaign ID.
PAUSED
ENABLED
REMOVED
Show Results Object