Comments (3)
Hello!
Issue is still appearing in 1.15.
Trying to make such a call:
customer.campaignCriteria.update({
resource_name: criteriaItem.campaign_criterion.resource_name,
bid_modifier: 0 as any, // error in typings
});
Producing following error:
TypeError: valueType.startsWith is not a function
at toProtoValueFormat (/usr/src/app/node_modules/google-ads-node/build/lib/utils.js:101:19)
at unroll (/usr/src/app/node_modules/google-ads-node/build/lib/utils.js:90:19)
at Object.convertToProtoFormat (/usr/src/app/node_modules/google-ads-node/build/lib/utils.js:86:26)
at GoogleAdsClient.buildResource (/usr/src/app/node_modules/google-ads-node/build/lib/client.js:86:41)
at GrpcClient.buildResource (/usr/src/app/node_modules/google-ads-api/build/grpc.js:121:28)
at CampaignCriterionService.buildResource (/usr/src/app/node_modules/google-ads-api/build/services/service.js:211:32)
at CampaignCriterionService.<anonymous> (/usr/src/app/node_modules/google-ads-api/build/services/service.js:69:33)
at Generator.next (<anonymous>)
at /usr/src/app/node_modules/google-ads-api/build/services/service.js:8:71
at new Promise (<anonymous>)
at __awaiter (/usr/src/app/node_modules/google-ads-api/build/services/service.js:4:12)
at CampaignCriterionService.serviceUpdate (/usr/src/app/node_modules/google-ads-api/build/services/service.js:59:16)
at CampaignCriterionService.<anonymous> (/usr/src/app/node_modules/google-ads-api/build/services/campaign_criterion.js:49:25)
at Generator.next (<anonymous>)
at /usr/src/app/node_modules/google-ads-api/build/services/campaign_criterion.js:8:71
at new Promise (<anonymous>)
at __awaiter (/usr/src/app/node_modules/google-ads-api/build/services/campaign_criterion.js:4:12)
at CampaignCriterionService.update (/usr/src/app/node_modules/google-ads-api/build/services/campaign_criterion.js:48:16)
from google-ads-node.
Hi @markoffk, we've just released a hot fix for this in google-ads-node 1.15.2
. This change should be upstreamed into google-ads-api within hours of this comment, so make sure to look out for a new release over there. 👍
Let us know if you have any other problems!
from google-ads-node.
@kritzware Thanks! It works now.
from google-ads-node.
Related Issues (20)
- Please update protos for v11.1 HOT 3
- Upgrade Google Ads to v13
- Upgrade Google Ads to v14
- Upgrade Google Ads to v15 HOT 3
- module growing in size, making use in a AWS function impossible HOT 1
- v13 of google-ads-node contains 2 versions of google api
- Upgrade to Google Ads API v17.1 HOT 3
- Receiving RESOURCE_EXHAUSTED: received trailing metadata size exceeds limit HOT 1
- Upgrade Google Ads to v6 HOT 1
- Using with Google service account and JWT HOT 1
- Next.js: Module not found: Can't resolve 'child_process' HOT 1
- High memory usage HOT 2
- Long initial init time HOT 1
- Huge package size HOT 2
- keywordPlanIdeas.generateKeywordIdeas() is returning dumb fileds
- Compilation issues with M1 chips
- Problem with authorization HOT 1
- How to authorize UserDataServiceClient
- lead_form_submission_data.proto is missing HOT 2
- Project structure question HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from google-ads-node.