I have successfully managed to use the PauseAd.php example in the AdWords PHP SDK but it only will Pause/Enable at ad level. Where my project needs to be able pause/enable adgroup level and wanted to know if it is possible.
Im currently using version v201607
Thanks
Pausing at Adgroup level is possible, You just need to modify the script UpdateAdGroup.php at
googleads-php-lib/examples/AdWords/v201607/BasicOperations/UpdateAdGroup.php slightly
and set the Adgroup.Status
to PAUSE
See at Github : https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201607/BasicOperations/UpdateAdGroup.php
See at Adword : https://developers.google.com/adwords/api/docs/reference/v201607/AdGroupService.AdGroup#status
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.