Internal (500) Error when requesting change data

2024-02-27 Thread Scott Vaillancourt
I'm trying to pull change data via the API and have been routinely encountering '500 Internal errors' for the past three weeks. This exact query has been running without issue for over 2 years. I've included the debug output for the request and response below. I realize there have been other si

Re: user_interest query returns "internal error occurred" response

2024-02-16 Thread Scott Vaillancourt
I'm also receiving errors when I attempt to query changes within an account (change_event). The following errors are returned. _InactiveRpcError: <_InactiveRpcError of RPC that terminated with: status = StatusCode.INTERNAL details = "Internal error encountered." debug_error_string = "

Re: Missing Ad Group Labels

2023-04-20 Thread Scott Vaillancourt
Was this issue ever resolved? I'm encountering the same thing in that I can see the ad group labels in the UI but they're not being retrieved when I request them via the API. Thanks. Scott On Wednesday, March 29, 2023 at 1:33:53 PM UTC-5 Google Ads API Forum Advisor wrote: > Hi Per, > > Thank

Re: Duplicate An Ad Group

2023-04-13 Thread Scott Vaillancourt
Thanks for your response. I do know how to pull the information I'm looking for in terms of existing ad group criteria. My question pertains to how these criteria can be assigned to a new ad group. Specifically, rather than having to recreate all of the existing criteria under the new ad group

Duplicate An Ad Group

2023-04-12 Thread Scott Vaillancourt
I'm attempting to programmatically duplicate ad groups using Python and the Ads APIs. I understand there is no copy/paste functionality similar to what's available via the UI, so I'm thinking I'll have to rely on resource-specific mutate services to generate ad groups and ads. However, with reg

Authorization error when adding keyword via MutateAdGroup

2022-01-20 Thread Scott Vaillancourt
I'm attempting to add a negative keyword to a specific ad group but am receiving an authorization error ("The user does not have permission to perform this action on the resource or call a method."). I'm able to add keywords via Google Ads (ads.google.com). I'm also able to successfully retriev

Re: Keyword and Search Term View Yield Different Metrics

2021-10-25 Thread Scott Vaillancourt
Hey Mat, I think you nailed it. If I pull data at the ad group level I can get the metrics to match what was retrieved by keyword. However, when search term is included in the query the numbers are significantly reduced. Thanks. Scott On Monday, October 25, 2021 at 4:21:16 AM UTC-5 Mat wrote:

Keyword and Search Term View Yield Different Metrics

2021-10-23 Thread Scott Vaillancourt
Hi All, I'm using the Ads API to pull performance data (e.g., impressions, clicks, cost, etc.). When I retrieve the data using the keyword_view the impressions and cost metrics in particular are greater than what is returned using the search_term_view for the same time period. I've included th

Change Event Resource Type

2021-08-30 Thread Scott Vaillancourt
I'm using Python to run a report in Google Ads that pulls change events for the past 28 days. The versions of software installed and the query are shown below: - google-ads: 13.0.0 - google-api_core: 1.31.2 - google-api-python-client: 2.18.0 query = ''' SELECT change_event.c

Account Access Issues With New MCC

2021-04-28 Thread Scott Vaillancourt
I have a set of applications that use both AdWords and Ads APIs for reporting. All of reporting to date has been for a set of accounts managed under a single MCC. I was recently given access to another MCC and was attempting to run the same applications against the accounts associated with this

Re: Retrieving changed_fields causes 500 Internal Error

2021-03-25 Thread Scott Vaillancourt
Based on the queries I'm doing, this appears to be resolved. Thanks. Scott On Thursday, March 25, 2021 at 1:42:01 PM UTC-5 adsapiforumadvisor wrote: > Hi All - > > It appears as though this fix has been rolled out all the way to prod. > Would you mind checking again whether you're continuing t

Retrieving changed_fields causes 500 Internal Error

2021-03-09 Thread Scott Vaillancourt
I'm trying to retrieve changed_fields from the change_event resource (something I've done on several occasions before) and consistently encounter an InternalServerError. I can pull other fields from this resource, but specifying changed_fields appears to trigger the error. The query and output

Re: Recommendation Type Enum Doesn't Match Results

2021-03-02 Thread Scott Vaillancourt
Thank you. After looking at the links you sent and digging into it a bit more, it appears to be a version problem. I downloaded the most current edition of google-ads (which I should have done straight away), at that has resolved the issue. Scott On Tuesday, March 2, 2021 at 3:05:55 PM UTC-6 a

Re: Recommendation Type Enum Doesn't Match Results

2021-03-02 Thread Scott Vaillancourt
Hi Xiaoming, Thanks for your reply. I believe I am accessing the correct enum, but it doesn't appear to contain the value 18. Please see the code below. Thanks. Scott In [50]: rte = client.get_type("RecommendationTypeEnum", version="v6") ...: rtype = zip(rte.RecommendationType.values(),

Re: Recommendation Type Enum Doesn't Match Results

2021-03-01 Thread Scott Vaillancourt
Quick update: I also encountered this issue with the ChangeEventResourceType enum. Scott On Monday, March 1, 2021 at 5:39:02 PM UTC-6 Scott Vaillancourt wrote: > It looks like a new recommendation type has been added but not yet > reflected in the Enum. Specifically, the va

Recommendation Type Enum Doesn't Match Results

2021-03-01 Thread Scott Vaillancourt
It looks like a new recommendation type has been added but not yet reflected in the Enum. Specifically, the value 18 (RESPONSIVE_SEARCH_AD?) is being returned from a query but isn't part of the Enum. However, it does appear in the documentation (https://developers.google.com/google-ads/api/refe

Re: API Recommendations Don't Match Ads Console

2020-12-07 Thread Scott Vaillancourt
I just sent the documentation you requested. Scott On Wednesday, December 2, 2020 at 3:34:28 AM UTC-6 adsapiforumadvisor wrote: > Hi Scott, > > Thank you for the clarification. > > To further investigate, please provide the requested details on this email > address googleadsa...@google.com ins

Re: API Recommendations Don't Match Ads Console

2020-11-27 Thread Scott Vaillancourt
Forgot to mention that I don't have permission to *Reply privately to author, *so if you require additional information I'll need to send it via a different channel. On Friday, November 27, 2020 at 1:54:36 PM UTC-6 Scott Vaillancourt wrote: > The console I'm referring

Re: API Recommendations Don't Match Ads Console

2020-11-27 Thread Scott Vaillancourt
The console I'm referring to is the account-specific Overview page at ads.google.com, not the reporting UI. Specifically, the recommendations cards don't match what I'm able to retrieve via the API. Scott On Thursday, November 26, 2020 at 2:44:32 AM UTC-6 adsapiforumadvisor wrote: > Hi Scott,

API Recommendations Don't Match Ads Console

2020-11-25 Thread Scott Vaillancourt
I'm using the GoogleAdsService API to pull recommendations. However, the returned data doesn't match what I see when I look at the Recommendations screen in the Google Ads console. There are far fewer recommendations returned via the API. The code below yields 5 records, which is significantly

Re: Different campaign report results when using location

2020-11-10 Thread Scott Vaillancourt
Hi Peter, I don't have permission to '*Reply privately to author' *and would need some other mechanism to send you the information you're requesting. Also, I'm not sure where I'd capture the response log or request ID. Thanks. Scott On Tuesday, November 10, 2020 at 12:52:24 AM UTC-6 adsapiforu

Different campaign report results when using location

2020-11-09 Thread Scott Vaillancourt
I'm trying to produce a report using the Google Ads API that includes totals for impressions, clicks and cost at the campaign/metro area level. I understand that if geographic information isn't available then data won't be returned from the geographic_view. In order to get all data for a campai

Re: geographic_view doesn't return data when segments.geo_target_metro is empty

2020-11-05 Thread Scott Vaillancourt
I have this question as well. When I pull a report using the AdWords API for a campaign, all of the data returned includes occurrences where no metro area is attached. However, when I use the geographic_view in the new Ads API, no data is returned if the metro area is blank, causing the metrics

Re: Resource Exhausted Using get_geo_target_constant

2020-10-28 Thread Scott Vaillancourt
Hi Peter, Thanks for the info. I don't have adequate permissions to reply to author, so I'll send you what I can via this post. Shown below is the code I'm using to execute the request. The error message I get back is '429 Resource has been exhausted (e.g., check quota)'. I'm pretty certain the

Resource Exhausted Using get_geo_target_constant

2020-10-27 Thread Scott Vaillancourt
I running a report using the search_stream method within GoogleAdsService. One of the fields I'm pulling back is geo_target_metro, which returns resource name such as 'geoTargetConstants/200819'. I'm trying to get the name associated with each location. However, when I use get_geo_target_consta

Campaign Report With Location (geo_target_metro)

2020-10-26 Thread Scott Vaillancourt
I'm using the search method of the GoogleAdsService to create a campaign-level report. I'd like to use the campaign view since this has the fields I'm looking for (e.g., impressions, cost, clicks). However, I also want this information broken out by metro area for each campaign, but I'm unable

Re: Can You Use The AdWords API To Access The Ad Preview & Diagnosis Tool?

2020-08-24 Thread Scott Vaillancourt
We're currently using the Ad Preview and Diagnosis tool to understand where ads are showing and look for opportunities to expand keywords. Does this functionality exist with any other API's? If not, is there any estimate of when the feature request might be released? Thanks. On Tuesday, June

Negative Keyword List

2020-08-18 Thread Scott Vaillancourt
I'm trying to get a negative keyword list via the Campaign Negative Keywords Performance Report API in Python. However, I'm not able to get the actual keyword for which I'm retrieving information (e.g., match type). It looks as though I might be able to get the keyword via the NegativeCampaign