Hello Sean,

Looks like you are trying to make the report call and the API service call 
in a single API call. You may have to first download the report save that 
in your local database and then use the details from that to make a 
separate AdGroupService.mutate()  
<https://developers.google.com/adwords/api/docs/reference/v201806/AdGroupService#mutate>API
 
call to update the status of your ad groups. Please find the samples in 
reporting 
here 
<https://github.com/googleads/googleads-php-lib/tree/master/examples/AdWords/v201806/Reporting>
. 

You could also explore the option of using AdWords Scripts to do this to 
run at a specific schedule. If you would like to consider that option, 
please post your question on the AdWords Scripts forum 
<https://groups.google.com/forum/#!forum/adwords-scripts>. 

Regards,
Sai Teja, AdWords 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 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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/357e33db-bd4f-442d-afb6-b63ecc7bb1ec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to