RE: Error on setting audience to AdGroupCriterion

2022-03-22 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi K, Thank you for posting your concern. It appears that the error occurred because there is an issue on how the code is implemented. With this, I would suggest to utilize this sample code as your base code because it illustrate how to add demographic targeting criteria. Yet, audience criteri

RE: Error on setting audience to AdGroupCriterion

2022-03-22 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi K, Thank you for reaching out to us. The error you are encountering appears to indicate an issue with the client library you are using rather than an issue specific to the API and its services. That being said, I would recommend that you reach out instead to the client library owners. You

Error on setting audience to AdGroupCriterion

2022-03-22 Thread K
Hi, I tried to set the audience that I created to the AdGroupCriterion but got an error: "TypeError: Parameter to MergeFrom() must be instance of same class: expected google.ads.googleads.v10.services.AdGroupCriterionOperation got google.ads.googleads.v10.resources.AdGroupCriterion." What do I

Error on setting audience to AdGroupCriterion

2022-03-22 Thread K
Hi, I tried to set the audience that I created to the AdGroupCriterion but got an error: "TypeError: Parameter to MergeFrom() must be instance of same class: expected google.ads.googleads.v10.services.AdGroupCriterionOperation got google.ads.googleads.v10.resources.AdGroupCriterion." What do I

Error on setting audience to AdGroupCriterion

2022-03-21 Thread K
Hi, I tried to set the audience that I created to the AdGroupCriterion but got an error: "TypeError: Parameter to MergeFrom() must be instance of same class: expected google.ads.googleads.v10.services.AdGroupCriterionOperation got google.ads.googleads.v10.resources.AdGroupCriterion." Thanks in