Hello,

I have a problem with pausing PERFORMANCE_MAX  campaigns. In the script 
below select the active PERFORMANCE_MAX.

How can I pause these campaigns ?




const search = AdsApp.search("SELECT 
campaign.name,campaign.id,campaign.status,campaign.advertising_channel_type 
FROM campaign WHERE campaign.status = ENABLED AND 
campaign.advertising_channel_type=PERFORMANCE_MAX")
while (search.hasNext()) {
    const row = search.next();

    Logger.log(row.campaign.advertisingChannelType+' == 
'+row.campaign.name+' == '+row.campaign.id)
}
   
  
  

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/fc2b5c20-77a6-4636-89d7-c9b012700d27n%40googlegroups.com.

Reply via email to