selesnow / rgoogleads

R package for loading data from Google Ads API
https://selesnow.github.io/rgoogleads/docs
Other
14 stars 2 forks source link

2 issues while gads_keyword_plan_historical_metrics() #29

Open AdamJayJonca opened 9 months ago

AdamJayJonca commented 9 months ago

Hi While I call gads_keyword_plan_historical_metrics ( keyword_plan_id = "yyyyyyyy", customer_id = "xxxxxxxxxx", login_customer_id = getOption("gads.login.customer.id"), verbose = F ) In current version I recive : Error in error_message(resp, call = call) : unused argument (call = call)

In version 0.9.2 I got strange data. The data: avg_monthly_searches, competition_index, low_top_of_page_bid, high_top_of_page_bid was different than in the Google Ads panel. As if the function was taking data from another keyword idea plan created in the Google Ads panel, but none of the plan have such data

AdamJayJonca commented 9 months ago

Same error: Error in error_message(resp, call = call) : unused argument (call = call) appears here:

`gads_get_report ( verbose = T, resource = "campaign", customer_id = "xxxxxxxxxx", fields = c( "customer.descriptive_name", "campaign.name", "metrics.all_conversions", "segments.conversion_action_category" ), date_from = Sys.Date()-6, date_to = Sys.Date()-1, where = "metrics.impressions > 0"

)`

ArbenKqiku commented 8 months ago

Hi @AdamJayJonca,

Not sure if you are still experiencing the same issue, but I was.

First of all, I changed my R version within R studio: https://bioinformatics.ccr.cancer.gov/docs/rtools/R%20and%20RStudio/2.6_switching_r_version/. This is my current version:

"R version 4.3.3 (2024-02-29 ucrt)"

Be mindful that you'll have to reinstall all packages once you change the version.

I hope this works!

dsolito commented 4 months ago

Hi, I encounter the same problem. Its quite new. I was able to run report without problem 1 month ago. Error in error_message(resp, call = call) : unused argument (call = call) Any idea?

          _                           

platform x86_64-apple-darwin20
arch x86_64
os darwin20
system x86_64, darwin20
status
major 4
minor 3.2
year 2023
month 10
day 31
svn rev 85441
language R
version.string R version 4.3.2 (2023-10-31) nickname Eye Holes

dsolito commented 4 months ago

Issue resolved with : R version 4.4.1 (2024-06-14) rgoogleads ‘0.11.0’