Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Status on adgroups doesn't work #97

Open
phillipstemann opened this issue Jun 24, 2019 · 0 comments
Open

Status on adgroups doesn't work #97

phillipstemann opened this issue Jun 24, 2019 · 0 comments

Comments

@phillipstemann
Copy link

phillipstemann commented Jun 24, 2019

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()
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant