diff --git a/DESCRIPTION b/DESCRIPTION index 39750e3..f263a22 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: rgoogleads Title: Loading Data from 'Google Ads API' -Version: 0.7.0 +Version: 0.7.1 Authors@R: c(person(given = "Alexey", family = "Seleznev", @@ -35,7 +35,7 @@ Imports: gargle (>= 1.2.0), rappdirs LazyData: true Roxygen: list(markdown = TRUE) -RoxygenNote: 7.1.2 +RoxygenNote: 7.2.0 Suggests: rmarkdown, knitr, diff --git a/NEWS.md b/NEWS.md index e80e096..b555379 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,6 @@ +# rgoogleads 0.7.1 +* Исправил ссылки на документацию к Google Ads API, с v8 на v10. + # rgoogleads 0.7.0 * Пакет переведён на работу с Google Ads API v10. * В блок `gads_utils.R` добавлена функция `gads_make_request()`, теперь это основная функция генерации HTTP запроса, она используется в остальных функциях для отправки запросов. diff --git a/R/gads_customer.R b/R/gads_customer.R index 53390e1..63462ea 100644 --- a/R/gads_customer.R +++ b/R/gads_customer.R @@ -8,7 +8,7 @@ #' #' @return Google Ads customer data #' -#' @seealso \href{https://developers.google.com/google-ads/api/rest/reference/rest/v8/customers/get}{Method: customers.get documentation} +#' @seealso \href{https://developers.google.com/google-ads/api/rest/common/search}{Method: SearchStream documentation} #' #' @export gads_customer <- function( diff --git a/R/gads_get_accessible_customers.R b/R/gads_get_accessible_customers.R index 08ca4ba..8cebbe4 100644 --- a/R/gads_get_accessible_customers.R +++ b/R/gads_get_accessible_customers.R @@ -3,7 +3,7 @@ #' @return List of your accessible accounts from top level #' @export #' -#' @seealso \href{https://developers.google.com/google-ads/api/rest/reference/rest/v8/customers/listAccessibleCustomers}{Method: customers.listAccessibleCustomers documentation} +#' @seealso \href{https://developers.google.com/google-ads/api/rest/reference/rest/v10/customers/listAccessibleCustomers}{Method: customers.listAccessibleCustomers documentation} #' #' @examples #' \dontrun{ diff --git a/R/gads_get_ad_group_criterions.R b/R/gads_get_ad_group_criterions.R index 0583da3..3a7787a 100644 --- a/R/gads_get_ad_group_criterions.R +++ b/R/gads_get_ad_group_criterions.R @@ -2,9 +2,9 @@ #' #' @inheritParams gads_get_report #' -#' @param fields character vector, list of report fields, all report has own fields list, for example \href{https://developers.google.com/google-ads/api/fields/v8/ad_group}{see field list of ad group report}. +#' @param fields character vector, list of report fields, all report has own fields list, for example \href{https://developers.google.com/google-ads/api/fields/v10/ad_group}{see field list of ad group report}. #' -#' @seealso \href{https://developers.google.com/google-ads/api/fields/v8/ad_group_criterion_query_builder}{Google Ads Query Builder} +#' @seealso \href{https://developers.google.com/google-ads/api/fields/v10/ad_group_criterion_query_builder}{Google Ads Query Builder} #' #' @return tibble with ad group criterions dicrionary #' @export diff --git a/R/gads_get_ad_groups.R b/R/gads_get_ad_groups.R index 89d6e3d..01fdc56 100644 --- a/R/gads_get_ad_groups.R +++ b/R/gads_get_ad_groups.R @@ -2,9 +2,9 @@ #' #' @inheritParams gads_get_report #' -#' @param fields character vector, list of report fields, all report has own fields list, for example \href{https://developers.google.com/google-ads/api/fields/v8/ad_group}{see field list of ad group report}. +#' @param fields character vector, list of report fields, all report has own fields list, for example \href{https://developers.google.com/google-ads/api/fields/v10/ad_group}{see field list of ad group report}. #' -#' @seealso \href{https://developers.google.com/google-ads/api/fields/v8/ad_group_query_builder}{Google Ads Query Builder} +#' @seealso \href{https://developers.google.com/google-ads/api/fields/v10/ad_group_query_builder}{Google Ads Query Builder} #' #' @return tibble with ad group dicrionary #' @export diff --git a/R/gads_get_ads.R b/R/gads_get_ads.R index 48682fc..5eba8f7 100644 --- a/R/gads_get_ads.R +++ b/R/gads_get_ads.R @@ -1,9 +1,9 @@ #' Get Ads Dictionary From Google Ads Client Account #' #' @inheritParams gads_get_report -#' @param fields character vector, list pf report fields, all report has own fields list, for example \href{https://developers.google.com/google-ads/api/fields/v8/ad_group_ad}{see field list of ads report}. +#' @param fields character vector, list pf report fields, all report has own fields list, for example \href{https://developers.google.com/google-ads/api/fields/v10/ad_group_ad}{see field list of ads report}. #' -#' @seealso \href{https://developers.google.com/google-ads/api/fields/v8/ad_group_ad_query_builder}{Google Ads Query Builder} +#' @seealso \href{https://developers.google.com/google-ads/api/fields/v10/ad_group_ad_query_builder}{Google Ads Query Builder} #' @return tibble with ads dicrionary #' @export #' @examples diff --git a/R/gads_get_campaigns.R b/R/gads_get_campaigns.R index bad152b..041d2e1 100644 --- a/R/gads_get_campaigns.R +++ b/R/gads_get_campaigns.R @@ -2,9 +2,9 @@ #' #' @inheritParams gads_get_report #' -#' @param fields character vector, list of report fields, all report has own fields list, for example \href{https://developers.google.com/google-ads/api/fields/v8/campaign}{see field list of campaigns report}. +#' @param fields character vector, list of report fields, all report has own fields list, for example \href{https://developers.google.com/google-ads/api/fields/v10/campaign}{see field list of campaigns report}. #' -#' @seealso \href{https://developers.google.com/google-ads/api/fields/v8/campaign_query_builder}{Google Ads Query Builder} +#' @seealso \href{https://developers.google.com/google-ads/api/fields/v10/campaign_query_builder}{Google Ads Query Builder} #' #' @return tibble with campaings dicrionary #' @export diff --git a/R/gads_get_report.R b/R/gads_get_report.R index a8ab9cc..3a26da9 100644 --- a/R/gads_get_report.R +++ b/R/gads_get_report.R @@ -1,7 +1,7 @@ #' Get data from Google Ads API #' -#' @param resource Report type, you can get list of all acessible resource using \code{\link{gads_get_metadata}}. For more information see \href{https://developers.google.com/google-ads/api/fields/v8/overview#list-of-all-resources}{link with list of all resources} -#' @param fields character vector, list of report fields, all report has own fields list. You can get list of accesible resource fields using \code{\link{gads_get_fields}} for example \href{https://developers.google.com/google-ads/api/fields/v8/campaign}{see field list of campaign report}. +#' @param resource Report type, you can get list of all acessible resource using \code{\link{gads_get_metadata}}. For more information see \href{https://developers.google.com/google-ads/api/fields/v10/overview#list-of-all-resources}{link with list of all resources} +#' @param fields character vector, list of report fields, all report has own fields list. You can get list of accesible resource fields using \code{\link{gads_get_fields}} for example \href{https://developers.google.com/google-ads/api/fields/v10/campaign}{see field list of campaign report}. #' @param where Filter, for example you can filter campaigns by status \code{where = "campaign.status = 'ENABLED'"}. #' @param order_by Sorting, character vectors of fields and sorting directions, for example \code{order_by = c("campaign.name DESC", "metrics.clicks")}. #' @param limit Maximun rows in report @@ -19,8 +19,8 @@ #' @return tibble with the Google Ads Data. #' @seealso #' \itemize{ -#' \item \href{https://developers.google.com/google-ads/api/fields/v8/overview}{Oficial Google Ads API Reports documantation} -#' \item \href{https://developers.google.com/google-ads/api/fields/v8/overview_query_builder}{Google Ads Query Builder} +#' \item \href{https://developers.google.com/google-ads/api/fields/v10/overview}{Oficial Google Ads API Reports documantation} +#' \item \href{https://developers.google.com/google-ads/api/fields/v10/overview_query_builder}{Google Ads Query Builder} #' } #' @export #' diff --git a/R/rgoogleads_package.R b/R/rgoogleads_package.R index d606400..5af1204 100644 --- a/R/rgoogleads_package.R +++ b/R/rgoogleads_package.R @@ -56,7 +56,7 @@ #' \itemize{ #' \item \href{https://www.youtube.com/playlist?list=PLD2LDq8edf4qprTxRcflDwV9IvStiChHi}{YouTube lessons playlist} #' \item \href{https://developers.google.com/google-ads/api/docs/start}{Oficial Google Ads API documantation} -#' \item \href{https://developers.google.com/google-ads/api/fields/v8/overview_query_builder}{Google Ads Query Builder} +#' \item \href{https://developers.google.com/google-ads/api/fields/v10/overview_query_builder}{Google Ads Query Builder} #' \item \href{https://selesnow.github.io/rgoogleads/docs/}{rgoogleads home page} #' } #' diff --git a/cran-comments.md b/cran-comments.md index 7ac80f5..53f45bf 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,5 +1,5 @@ ## R CMD check results -0 errors | 0 warnings | 1 note +0 errors | 0 warnings | 0 note -* Migrate to Google Ads API v10 +* update API documentation links. diff --git a/man/gads_customer.Rd b/man/gads_customer.Rd index 999ac1a..3068dd8 100644 --- a/man/gads_customer.Rd +++ b/man/gads_customer.Rd @@ -18,5 +18,5 @@ Google Ads customer data Get all information about Google Ads Customer } \seealso{ -\href{https://developers.google.com/google-ads/api/rest/reference/rest/v8/customers/get}{Method: customers.get documentation} +\href{https://developers.google.com/google-ads/api/rest/common/search}{Method: SearchStream documentation} } diff --git a/man/gads_get_accessible_customers.Rd b/man/gads_get_accessible_customers.Rd index 14ead98..42275bb 100644 --- a/man/gads_get_accessible_customers.Rd +++ b/man/gads_get_accessible_customers.Rd @@ -18,5 +18,5 @@ accounts <- gads_get_accessible_customers() } } \seealso{ -\href{https://developers.google.com/google-ads/api/rest/reference/rest/v8/customers/listAccessibleCustomers}{Method: customers.listAccessibleCustomers documentation} +\href{https://developers.google.com/google-ads/api/rest/reference/rest/v10/customers/listAccessibleCustomers}{Method: customers.listAccessibleCustomers documentation} } diff --git a/man/gads_get_ad_group_criterions.Rd b/man/gads_get_ad_group_criterions.Rd index 76d85a7..53596b3 100644 --- a/man/gads_get_ad_group_criterions.Rd +++ b/man/gads_get_ad_group_criterions.Rd @@ -13,7 +13,8 @@ gads_get_ad_group_criterions( "ad_group_criterion.cpc_bid_micros", "ad_group_criterion.cpm_bid_micros", "ad_group_criterion.cpv_bid_micros", "ad_group.id", "customer.id", "customer.descriptive_name", "ad_group_criterion.criterion_id", - "ad_group_criterion.custom_affinity.custom_affinity", + "ad_group_criterion.custom_affinity.custom_affinity", + "ad_group_criterion.custom_audience.custom_audience", "ad_group_criterion.custom_intent.custom_intent", "ad_group_criterion.disapproval_reasons", "ad_group_criterion.display_name", @@ -23,7 +24,8 @@ gads_get_ad_group_criterions( "ad_group_criterion.effective_cpm_bid_source", "ad_group_criterion.effective_cpv_bid_micros", "ad_group_criterion.effective_cpv_bid_source", - "ad_group_criterion.effective_percent_cpc_bid_micros", + "ad_group_criterion.effective_percent_cpc_bid_micros", + "ad_group_criterion.effective_percent_cpc_bid_source", "ad_group_criterion.final_mobile_urls", "ad_group_criterion.final_url_suffix", "ad_group_criterion.final_urls", "ad_group_criterion.gender.type", @@ -31,14 +33,16 @@ gads_get_ad_group_criterions( "ad_group_criterion.keyword.text", "ad_group_criterion.labels", "ad_group_criterion.listing_group.case_value.hotel_city.city_criterion", "ad_group_criterion.listing_group.case_value.hotel_class.value", - "ad_group_criterion.listing_group.case_value.hotel_id.value", + "ad_group_criterion.listing_group.case_value.hotel_id.value", + "ad_group_criterion.listing_group.case_value.hotel_state.state_criterion", "ad_group_criterion.listing_group.case_value.product_bidding_category.country_code", "ad_group_criterion.listing_group.case_value.product_bidding_category.id", "ad_group_criterion.listing_group.case_value.product_bidding_category.level", "ad_group_criterion.listing_group.case_value.product_brand.value", "ad_group_criterion.listing_group.case_value.product_channel.channel", - "ad_group_criterion.listing_group.case_value.product_condition.condition", + "ad_group_criterion.listing_group.case_value.product_condition.condition", + "ad_group_criterion.listing_group.case_value.product_custom_attribute.index", "ad_group_criterion.listing_group.case_value.product_custom_attribute.value", "ad_group_criterion.listing_group.case_value.product_type.level", @@ -46,7 +50,8 @@ gads_get_ad_group_criterions( "ad_group_criterion.listing_group.case_value.product_type.value", "ad_group_criterion.listing_group.parent_ad_group_criterion", "ad_group_criterion.listing_group.type", - "ad_group_criterion.mobile_app_category.mobile_app_category_constant", + "ad_group_criterion.mobile_app_category.mobile_app_category_constant", + "ad_group_criterion.mobile_application.app_id", "ad_group_criterion.mobile_application.name", "ad_group_criterion.negative", "ad_group_criterion.parental_status.type", @@ -54,7 +59,8 @@ gads_get_ad_group_criterions( "ad_group_criterion.position_estimates.estimated_add_cost_at_first_position_cpc", "ad_group_criterion.position_estimates.estimated_add_clicks_at_first_position_cpc", "ad_group_criterion.position_estimates.first_page_cpc_micros", - "ad_group_criterion.position_estimates.first_position_cpc_micros", + "ad_group_criterion.position_estimates.first_position_cpc_micros", + "ad_group_criterion.position_estimates.top_of_page_cpc_micros", "ad_group_criterion.quality_info.creative_quality_score", "ad_group_criterion.quality_info.post_click_quality_score", @@ -63,7 +69,8 @@ gads_get_ad_group_criterions( "ad_group_criterion.resource_name", "ad_group_criterion.status", "ad_group_criterion.system_serving_status", "ad_group_criterion.topic.path", "ad_group_criterion.topic.topic_constant", - "ad_group_criterion.tracking_url_template", "ad_group_criterion.type", + "ad_group_criterion.tracking_url_template", + "ad_group_criterion.type", "ad_group_criterion.url_custom_parameters", "ad_group_criterion.user_interest.user_interest_category", "ad_group_criterion.user_list.user_list", "ad_group_criterion.webpage.conditions", @@ -85,7 +92,7 @@ gads_get_ad_group_criterions( \arguments{ \item{customer_id}{Google Ads client customer id, supports a single account id: "xxx-xxx-xxxx" or a vector of ids from the same Google Ads MCC: c("xxx-xxx-xxxx", "xxx-xxx-xxxx")} -\item{fields}{character vector, list of report fields, all report has own fields list, for example \href{https://developers.google.com/google-ads/api/fields/v8/ad_group}{see field list of ad group report}.} +\item{fields}{character vector, list of report fields, all report has own fields list, for example \href{https://developers.google.com/google-ads/api/fields/v10/ad_group}{see field list of ad group report}.} \item{where}{Filter, for example you can filter campaigns by status \code{where = "campaign.status = 'ENABLED'"}.} @@ -123,5 +130,5 @@ kw <- gads_get_ad_group_criterions() } } \seealso{ -\href{https://developers.google.com/google-ads/api/fields/v8/ad_group_criterion_query_builder}{Google Ads Query Builder} +\href{https://developers.google.com/google-ads/api/fields/v10/ad_group_criterion_query_builder}{Google Ads Query Builder} } diff --git a/man/gads_get_ad_groups.Rd b/man/gads_get_ad_groups.Rd index f614858..88a4e09 100644 --- a/man/gads_get_ad_groups.Rd +++ b/man/gads_get_ad_groups.Rd @@ -26,7 +26,7 @@ gads_get_ad_groups( \arguments{ \item{customer_id}{Google Ads client customer id, supports a single account id: "xxx-xxx-xxxx" or a vector of ids from the same Google Ads MCC: c("xxx-xxx-xxxx", "xxx-xxx-xxxx")} -\item{fields}{character vector, list of report fields, all report has own fields list, for example \href{https://developers.google.com/google-ads/api/fields/v8/ad_group}{see field list of ad group report}.} +\item{fields}{character vector, list of report fields, all report has own fields list, for example \href{https://developers.google.com/google-ads/api/fields/v10/ad_group}{see field list of ad group report}.} \item{where}{Filter, for example you can filter campaigns by status \code{where = "campaign.status = 'ENABLED'"}.} @@ -66,5 +66,5 @@ adgroups <- gads_get_ad_groups( } } \seealso{ -\href{https://developers.google.com/google-ads/api/fields/v8/ad_group_query_builder}{Google Ads Query Builder} +\href{https://developers.google.com/google-ads/api/fields/v10/ad_group_query_builder}{Google Ads Query Builder} } diff --git a/man/gads_get_ads.Rd b/man/gads_get_ads.Rd index 833153d..e2ee832 100644 --- a/man/gads_get_ads.Rd +++ b/man/gads_get_ads.Rd @@ -13,7 +13,8 @@ gads_get_ads( "ad_group_ad.ad.call_ad.conversion_action", "ad_group_ad.ad.app_engagement_ad.videos", "ad_group_ad.ad.call_ad.conversion_reporting_state", - "ad_group_ad.ad.call_ad.country_code", "ad_group_ad.ad.call_ad.description1", + "ad_group_ad.ad.call_ad.country_code", + "ad_group_ad.ad.call_ad.description1", "ad_group_ad.ad.call_ad.description2", "ad_group_ad.ad.call_ad.disable_call_conversion", "ad_group_ad.ad.call_ad.headline1", "ad_group_ad.ad.call_ad.headline2", "ad_group_ad.ad.call_ad.path1", @@ -21,7 +22,8 @@ gads_get_ads( "ad_group_ad.ad.call_ad.phone_number_verification_url", "ad_group_ad.ad.device_preference", "ad_group_ad.ad.display_upload_ad.display_upload_product_type", - "ad_group_ad.ad.display_upload_ad.media_bundle", "ad_group_ad.ad.display_url", + "ad_group_ad.ad.display_upload_ad.media_bundle", + "ad_group_ad.ad.display_url", "ad_group_ad.ad.expanded_dynamic_search_ad.description", "ad_group_ad.ad.expanded_dynamic_search_ad.description2", "ad_group_ad.ad.expanded_text_ad.description", @@ -30,7 +32,8 @@ gads_get_ads( "ad_group_ad.ad.expanded_text_ad.headline_part2", "ad_group_ad.ad.expanded_text_ad.headline_part3", "ad_group_ad.ad.expanded_text_ad.path1", "ad_group_ad.ad.expanded_text_ad.path2", - "ad_group_ad.ad.final_url_suffix", "ad_group_ad.ad.final_urls", + "ad_group_ad.ad.final_url_suffix", + "ad_group_ad.ad.final_urls", "ad_group_ad.ad.final_mobile_urls", "ad_group_ad.ad.gmail_ad.header_image", "ad_group_ad.ad.gmail_ad.marketing_image", "ad_group_ad.ad.gmail_ad.marketing_image_description", @@ -38,7 +41,8 @@ gads_get_ads( "ad_group_ad.ad.gmail_ad.marketing_image_display_call_to_action.text_color", "ad_group_ad.ad.gmail_ad.marketing_image_display_call_to_action.url_collection_id", "ad_group_ad.ad.gmail_ad.marketing_image_headline", - "ad_group_ad.ad.gmail_ad.product_images", + "ad_group_ad.ad.gmail_ad.product_images", + "ad_group_ad.ad.gmail_ad.teaser.business_name", "ad_group_ad.ad.gmail_ad.teaser.description", "ad_group_ad.ad.gmail_ad.teaser.headline", @@ -47,7 +51,8 @@ gads_get_ads( "ad_group_ad.ad.image_ad.name", "ad_group_ad.ad.image_ad.pixel_height", "ad_group_ad.ad.image_ad.pixel_width", "ad_group_ad.ad.image_ad.preview_image_url", "ad_group_ad.ad.image_ad.preview_pixel_height", - "ad_group_ad.ad.image_ad.preview_pixel_width", + "ad_group_ad.ad.image_ad.preview_pixel_width", + "ad_group_ad.ad.legacy_app_install_ad", "ad_group_ad.ad.legacy_responsive_display_ad.accent_color", "ad_group_ad.ad.legacy_responsive_display_ad.allow_flexible_color", @@ -56,7 +61,8 @@ gads_get_ads( "ad_group_ad.ad.legacy_responsive_display_ad.call_to_action_text", "ad_group_ad.ad.legacy_responsive_display_ad.format_setting", "ad_group_ad.ad.legacy_responsive_display_ad.logo_image", - "ad_group_ad.ad.legacy_responsive_display_ad.long_headline", + "ad_group_ad.ad.legacy_responsive_display_ad.long_headline", + "ad_group_ad.ad.legacy_responsive_display_ad.main_color", "ad_group_ad.ad.legacy_responsive_display_ad.marketing_image", "ad_group_ad.ad.legacy_responsive_display_ad.price_prefix", @@ -64,15 +70,17 @@ gads_get_ads( "ad_group_ad.ad.legacy_responsive_display_ad.short_headline", "ad_group_ad.ad.legacy_responsive_display_ad.square_logo_image", "ad_group_ad.ad.legacy_responsive_display_ad.square_marketing_image", - "ad_group_ad.ad.local_ad.call_to_actions", "ad_group_ad.ad.local_ad.descriptions", - "ad_group_ad.ad.local_ad.headlines", "ad_group_ad.ad.local_ad.logo_images", + "ad_group_ad.ad.local_ad.call_to_actions", "ad_group_ad.ad.local_ad.descriptions", + + "ad_group_ad.ad.local_ad.headlines", "ad_group_ad.ad.local_ad.logo_images", "ad_group_ad.ad.local_ad.marketing_images", "ad_group_ad.ad.local_ad.path1", "ad_group_ad.ad.local_ad.path2", "ad_group_ad.ad.resource_name", "ad_group_ad.ad.responsive_display_ad.accent_color", "ad_group_ad.ad.responsive_display_ad.allow_flexible_color", "ad_group_ad.ad.responsive_display_ad.business_name", "ad_group_ad.ad.responsive_display_ad.call_to_action_text", - "ad_group_ad.ad.responsive_display_ad.control_spec.enable_asset_enhancements", + "ad_group_ad.ad.responsive_display_ad.control_spec.enable_asset_enhancements", + "ad_group_ad.ad.responsive_display_ad.control_spec.enable_autogen_video", "ad_group_ad.ad.responsive_display_ad.format_setting", "ad_group_ad.ad.responsive_display_ad.headlines", @@ -94,7 +102,7 @@ gads_get_ads( ) } \arguments{ -\item{fields}{character vector, list pf report fields, all report has own fields list, for example \href{https://developers.google.com/google-ads/api/fields/v8/ad_group_ad}{see field list of ads report}.} +\item{fields}{character vector, list pf report fields, all report has own fields list, for example \href{https://developers.google.com/google-ads/api/fields/v10/ad_group_ad}{see field list of ads report}.} \item{where}{Filter, for example you can filter campaigns by status \code{where = "campaign.status = 'ENABLED'"}.} @@ -140,5 +148,5 @@ myads <- gads_get_ads( } } \seealso{ -\href{https://developers.google.com/google-ads/api/fields/v8/ad_group_ad_query_builder}{Google Ads Query Builder} +\href{https://developers.google.com/google-ads/api/fields/v10/ad_group_ad_query_builder}{Google Ads Query Builder} } diff --git a/man/gads_get_campaigns.Rd b/man/gads_get_campaigns.Rd index 000ea69..3d74f3a 100644 --- a/man/gads_get_campaigns.Rd +++ b/man/gads_get_campaigns.Rd @@ -12,7 +12,8 @@ gads_get_campaigns( "campaign.bidding_strategy", "campaign.app_campaign_setting.bidding_strategy_goal_type", "campaign.campaign_budget", "campaign.bidding_strategy_type", - "campaign.dynamic_search_ads_setting.language_code", "campaign.start_date", + "campaign.dynamic_search_ads_setting.language_code", + "campaign.start_date", "campaign.end_date", "campaign.status", "campaign.manual_cpm", "campaign.manual_cpv", "campaign.maximize_conversion_value.target_roas", "campaign.maximize_conversions.target_cpa", @@ -21,7 +22,8 @@ gads_get_campaigns( "campaign.network_settings.target_partner_search_network", "campaign.network_settings.target_search_network", "campaign.optimization_goal_setting.optimization_goal_types", - "campaign.optimization_score", "campaign.payment_mode", + "campaign.optimization_score", + "campaign.payment_mode", "campaign.serving_status", "campaign.shopping_setting.campaign_priority", "campaign.shopping_setting.sales_country", "campaign.target_roas.target_roas", "campaign.tracking_url_template", "customer.descriptive_name", "customer.id"), @@ -37,7 +39,7 @@ gads_get_campaigns( ) } \arguments{ -\item{fields}{character vector, list of report fields, all report has own fields list, for example \href{https://developers.google.com/google-ads/api/fields/v8/campaign}{see field list of campaigns report}.} +\item{fields}{character vector, list of report fields, all report has own fields list, for example \href{https://developers.google.com/google-ads/api/fields/v10/campaign}{see field list of campaigns report}.} \item{where}{Filter, for example you can filter campaigns by status \code{where = "campaign.status = 'ENABLED'"}.} @@ -79,5 +81,5 @@ camps <- gads_get_campaigns( } } \seealso{ -\href{https://developers.google.com/google-ads/api/fields/v8/campaign_query_builder}{Google Ads Query Builder} +\href{https://developers.google.com/google-ads/api/fields/v10/campaign_query_builder}{Google Ads Query Builder} } diff --git a/man/gads_get_keywords.Rd b/man/gads_get_keywords.Rd index 5752b57..16be0d2 100644 --- a/man/gads_get_keywords.Rd +++ b/man/gads_get_keywords.Rd @@ -13,7 +13,8 @@ gads_get_keywords( "ad_group_criterion.quality_info.creative_quality_score", "ad_group_criterion.quality_info.post_click_quality_score", "ad_group.id", "ad_group.name", "ad_group.status", "campaign.id", "campaign.name", "customer.id", - "customer.descriptive_name", "metrics.average_cpc", "metrics.average_cost", + "customer.descriptive_name", + "metrics.average_cpc", "metrics.average_cost", "metrics.ctr", "metrics.bounce_rate"), where = NULL, order_by = NULL, diff --git a/man/gads_get_report.Rd b/man/gads_get_report.Rd index 7f6661a..1ffb15c 100644 --- a/man/gads_get_report.Rd +++ b/man/gads_get_report.Rd @@ -29,9 +29,9 @@ gads_get_report( ) } \arguments{ -\item{resource}{Report type, you can get list of all acessible resource using \code{\link{gads_get_metadata}}. For more information see \href{https://developers.google.com/google-ads/api/fields/v8/overview#list-of-all-resources}{link with list of all resources}} +\item{resource}{Report type, you can get list of all acessible resource using \code{\link{gads_get_metadata}}. For more information see \href{https://developers.google.com/google-ads/api/fields/v10/overview#list-of-all-resources}{link with list of all resources}} -\item{fields}{character vector, list of report fields, all report has own fields list. You can get list of accesible resource fields using \code{\link{gads_get_fields}} for example \href{https://developers.google.com/google-ads/api/fields/v8/campaign}{see field list of campaign report}.} +\item{fields}{character vector, list of report fields, all report has own fields list. You can get list of accesible resource fields using \code{\link{gads_get_fields}} for example \href{https://developers.google.com/google-ads/api/fields/v10/campaign}{see field list of campaign report}.} \item{where}{Filter, for example you can filter campaigns by status \code{where = "campaign.status = 'ENABLED'"}.} @@ -134,7 +134,7 @@ stopCluster(cl) } \seealso{ \itemize{ -\item \href{https://developers.google.com/google-ads/api/fields/v8/overview}{Oficial Google Ads API Reports documantation} -\item \href{https://developers.google.com/google-ads/api/fields/v8/overview_query_builder}{Google Ads Query Builder} +\item \href{https://developers.google.com/google-ads/api/fields/v10/overview}{Oficial Google Ads API Reports documantation} +\item \href{https://developers.google.com/google-ads/api/fields/v10/overview_query_builder}{Google Ads Query Builder} } } diff --git a/man/rgoogleads-package.Rd b/man/rgoogleads-package.Rd index f2e407e..1a0984c 100644 --- a/man/rgoogleads-package.Rd +++ b/man/rgoogleads-package.Rd @@ -61,7 +61,7 @@ ad_group_report <- gads_get_report( \itemize{ \item \href{https://www.youtube.com/playlist?list=PLD2LDq8edf4qprTxRcflDwV9IvStiChHi}{YouTube lessons playlist} \item \href{https://developers.google.com/google-ads/api/docs/start}{Oficial Google Ads API documantation} -\item \href{https://developers.google.com/google-ads/api/fields/v8/overview_query_builder}{Google Ads Query Builder} +\item \href{https://developers.google.com/google-ads/api/fields/v10/overview_query_builder}{Google Ads Query Builder} \item \href{https://selesnow.github.io/rgoogleads/docs/}{rgoogleads home page} } } diff --git a/rgoogleads.Rproj b/rgoogleads.Rproj index c6325b2..3f45ef5 100644 --- a/rgoogleads.Rproj +++ b/rgoogleads.Rproj @@ -9,8 +9,8 @@ UseSpacesForTab: Yes NumSpacesForTab: 2 Encoding: UTF-8 -RnwWeave: Sweave -LaTeX: pdfLaTeX +RnwWeave: knitr +LaTeX: XeLaTeX AutoAppendNewline: Yes StripTrailingWhitespace: Yes