node-adwords icon indicating copy to clipboard operation
node-adwords copied to clipboard

Status on adgroups doesn't work

Open phillipstemann opened this issue 6 years ago • 0 comments

No matter what, I get the status enabled, even if the adgroupad is deleted. I'm missing the status: disapprove or removed.

I use: following:

let campaignService = user.getService('AdGroupAdService', 'v201809')
let selector = {
  fields: ['AdvertisingId', 'Status'],
  paging: { startIndex: 0, numberResults: AdwordsConstants.RECOMMENDED_PAGE_SIZE }
}
campaignService.get({ serviceSelector: selector }, (error, result) => {
  console.log(error)
  if (result && result.entries && result.entries.length > 0) return cb(result.entries)
  return cb()
})

phillipstemann avatar Jun 24 '19 08:06 phillipstemann