We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Refering to php's client library (here) below is the pattern of pausing an ad:
How will I do the same using node-adwords? an example snippet will be much appreciated.
The text was updated successfully, but these errors were encountered:
Here is an example from my code : adwords user object
const obj = { userAgent:'test', developerToken: developerToken, client_id: googleClientId, client_secret: googleClientSecret, access_token: authObject.access_token, refresh_token: authObject.refresh_token, debug: false }; if(authObject.clientCustomerId){ obj.clientCustomerId = authObject.clientCustomerId; } this.adwordsUser = new AdwordsUser(obj); }
Operation
return new Promise((resolve, reject) => { const campaignService = this.adwordsUser.getService('CampaignService', 'v201802'); const campaignOperation = { operations: { operator: 'SET', operand: { id: campaignId, status: obj.status } } }; campaignService.mutate(campaignOperation, function (error, result) { if (error) { return reject(error); } return resolve(result); }); });
Sorry, something went wrong.
No branches or pull requests
Refering to php's client library (here) below is the pattern of pausing an ad:
How will I do the same using node-adwords? an example snippet will be much appreciated.
The text was updated successfully, but these errors were encountered: