Hi,

Thank you for reaching out to the Google Ads API support team.

Kindly note that you can update campaigns using a field mask. The field mask 
lists all the fields you intend to change with the update, and any specified 
fields that are not in the field mask will be ignored, even if sent to the 
server.

The recommended way to generate field masks is using the field_mask helper 
function included in the google.api_core package. It accepts two protobuf 
objects and returns a field mask object with a list field that contains all of 
the fields that are different between the two objects.If None is passed as the 
first parameter then the field mask list will just contain all of the fields on 
the second protobuf object that are not set to their default value. I would 
recommend you to check this documentation on Updates Using Field Masks for more 
information.

You can use CamapignService to set the status of those Campaigns to 'PAUSED'.

Also, this guide on sample update campaign programs provides information 
regarding the example code that demonstrates the update of a campaign to pause 
via the Google Ads API.

This message is in relation to case "ref:!00D1U01174p.!5004Q02CSvqt:ref"

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 [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/7TEZy000000000000000000000000000000000000000000000SA6ABK00LisRLBzIRQGwWv5w4hB8qQ%40sfdc.net.
  • Re... Shafali Kapoor
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to