[英]Adwords API PHP - Can you Pause AdGroup
I have successfully managed to use the PauseAd.php example in the AdWords PHP SDK but it only will Pause/Enable at ad level.我已经成功地在 AdWords PHP SDK 中使用了 PauseAd.php 示例,但它只能在广告级别暂停/启用。 Where my project needs to be able pause/enable adgroup level and wanted to know if it is possible.我的项目需要能够暂停/启用广告组级别,并想知道是否有可能。
Im currently using version v201607我目前使用的是 v201607 版本
Thanks谢谢
Pausing at Adgroup level is possible, You just need to modify the script UpdateAdGroup.php at在 Adgroup 级别暂停是可能的,您只需要修改脚本UpdateAdGroup.php at
googleads-php-lib/examples/AdWords/v201607/BasicOperations/UpdateAdGroup.php slightly googleads-php-lib/examples/AdWords/v201607/BasicOperations/UpdateAdGroup.php 略
and set the Adgroup.Status
to PAUSE
并将Adgroup.Status
设置为PAUSE
See at Github : https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201607/BasicOperations/UpdateAdGroup.php请参阅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请参阅Adword : https : //developers.google.com/adwords/api/docs/reference/v201607/AdGroupService.AdGroup#status
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.