Hiding AdWords accounts now possible via the AdWords API
štvrtok 13. augusta 2015
Starting with v201506 of the AdWords API, you can:
As with the AdWords user interface, you can only hide or unhide AdWords accounts. Any attempt to hide a manager account will result in a
Don't worry -- hiding an account doesn’t affect serving:
- Hide or unhide an AdWords account under your manager account by setting the
isHidden
attribute of its ManagedCustomerLink totrue
orfalse
, respectively. - Exclude hidden accounts in ManagedCustomerService.get and ManagedCustomerService.query calls by specifying
ExcludeHiddenAccounts = true
in your predicate or AWQLWHERE
clause.
As with the AdWords user interface, you can only hide or unhide AdWords accounts. Any attempt to hide a manager account will result in a
ManagedCustomerServiceError.CANNOT_HIDE_OR_UNHIDE_MANAGER_ACCOUNTS
error.Don't worry -- hiding an account doesn’t affect serving:
- You can always unhide an account by setting the
isHidden
attribute of itsManagedCustomerLink
back to false. - You can retrieve all of your accounts by setting ExcludeHiddenAccounts to false in your selector, or by not specifying a predicate on
ExcludeHiddenAccounts
. - Ads in hidden accounts will continue to serve.
- Guide on managing customer accounts.
- Latest docs on ManagedCustomerLink and ManagedCustomer.