pp-google-ads
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseGoogle Ads — Printing Press CLI
Google Ads — Printing Press CLI工具
Google Ads API for account discovery, GAQL reporting, campaigns, budgets, assets, conversions, audiences, planning, and billing operations.
基于Google Ads API实现账户发现、GAQL报表、广告系列、预算、资产、转化、受众群体、规划及账单管理等操作。
Command Reference
命令参考
audience_insights — Google Ads audience insights operations
- — Lists date ranges for which audience insights data can be requested.
google-ads-pp-cli audience_insights
customers — Google Ads customers operations
- — Creates a new client under manager. The new client customer is returned.
google-ads-pp-cli customers create_customer_client - — Returns a list of suggested AdGroups and suggested modifications (text, match type) for the given keywords.
google-ads-pp-cli customers generate_ad_group_themes - — Returns a collection of attributes that are represented in an audience of interest, with metrics that compare each...
google-ads-pp-cli customers generate_audience_composition_insights - — Returns a collection of audience attributes along with estimates of the overlap between their potential YouTube...
google-ads-pp-cli customers generate_audience_overlap_insights - — Returns insights for a collection of YouTube Creators and Channels.
google-ads-pp-cli customers generate_creator_insights - — Creates a saved report that can be viewed in the Insights Finder tool.
google-ads-pp-cli customers generate_insights_finder_report - — Returns metrics (such as impressions, clicks, total cost) of a keyword forecast for the given campaign.
google-ads-pp-cli customers generate_keyword_forecast_metrics - — Returns a list of keyword historical metrics.
google-ads-pp-cli customers generate_keyword_historical_metrics - — Returns a list of keyword ideas.
google-ads-pp-cli customers generate_keyword_ideas - — Generates a reach forecast for a given targeting / product mix.
google-ads-pp-cli customers generate_reach_forecast - — Returns the requested Shareable Preview.
google-ads-pp-cli customers generate_shareable_previews - — Returns a collection of targeting insights (e.g. targetable audiences) that are relevant to the requested audience.
google-ads-pp-cli customers generate_suggested_targeting_insights - — Returns potential reach metrics for targetable audiences. This method helps answer questions like 'How many Men aged...
google-ads-pp-cli customers generate_targeting_suggestion_metrics - — Returns insights for trending content on YouTube.
google-ads-pp-cli customers generate_trending_insights - — Returns Identity Verification information.
google-ads-pp-cli customers get_identity_verification - — Returns resource names of customers directly accessible by the user authenticating the call.
google-ads-pp-cli customers list_accessible_customers - — Updates a customer. Operation statuses are returned.
google-ads-pp-cli customers mutate - — Removes automatically created assets from a campaign.
google-ads-pp-cli customers remove_campaign_automatically_created_asset - — Searches for audience attributes that can be used to generate insights.
google-ads-pp-cli customers search_audience_insights_attributes - — Starts Identity Verification for a given verification program type. Statuses are returned.
google-ads-pp-cli customers start_identity_verification - — Rpc to return a list of matching brands based on a prefix for this customer.
google-ads-pp-cli customers suggest_brands - — Suggests keyword themes to advertise on.
google-ads-pp-cli customers suggest_keyword_themes - — Suggests a Smart campaign ad compatible with the Ad family of resources, based on data points such as targeting and...
google-ads-pp-cli customers suggest_smart_campaign_ad - — Returns BudgetOption suggestions.
google-ads-pp-cli customers suggest_smart_campaign_budget_options - — Returns Travel Asset suggestions. Asset suggestions are returned on a best-effort basis. There are no guarantees...
google-ads-pp-cli customers suggest_travel_assets - — Processes the given call conversions.
google-ads-pp-cli customers upload_call_conversions - — Processes the given click conversions.
google-ads-pp-cli customers upload_click_conversions - — Processes the given conversion adjustments.
google-ads-pp-cli customers upload_conversion_adjustments - — Uploads the given user data.
google-ads-pp-cli customers upload_user_data
customers_account_budget_proposals — Google Ads customers account budget proposals operations
- — Creates, updates, or removes account budget proposals. Operation statuses are returned.
google-ads-pp-cli customers_account_budget_proposals <customerId>
customers_account_links — Google Ads customers account links operations
- — Creates an account link.
google-ads-pp-cli customers_account_links create - — Creates or removes an account link. From V5, create is not supported through AccountLinkService.MutateAccountLink....
google-ads-pp-cli customers_account_links mutate
customers_ad_group_ad_labels — Google Ads customers ad group ad labels operations
- — Creates and removes ad group ad labels. Operation statuses are returned.
google-ads-pp-cli customers_ad_group_ad_labels <customerId>
customers_ad_group_ads — Google Ads customers ad group ads operations
- — Creates, updates, or removes ads. Operation statuses are returned.
google-ads-pp-cli customers_ad_group_ads mutate - — Remove automatically created assets from an ad.
google-ads-pp-cli customers_ad_group_ads remove_automatically_created_assets
customers_ad_group_asset_sets — Google Ads customers ad group asset sets operations
- — Creates, or removes ad group asset sets. Operation statuses are returned.
google-ads-pp-cli customers_ad_group_asset_sets <customerId>
customers_ad_group_assets — Google Ads customers ad group assets operations
- — Creates, updates, or removes ad group assets. Operation statuses are returned.
google-ads-pp-cli customers_ad_group_assets <customerId>
customers_ad_group_bid_modifiers — Google Ads customers ad group bid modifiers operations
- — Creates, updates, or removes ad group bid modifiers. Operation statuses are returned.
google-ads-pp-cli customers_ad_group_bid_modifiers <customerId>
customers_ad_group_criteria — Google Ads customers ad group criteria operations
- — Creates, updates, or removes criteria. Operation statuses are returned.
google-ads-pp-cli customers_ad_group_criteria <customerId>
customers_ad_group_criterion_customizers — Google Ads customers ad group criterion customizers operations
- — Creates, updates or removes ad group criterion customizers. Operation statuses are returned.
google-ads-pp-cli customers_ad_group_criterion_customizers <customerId>
customers_ad_group_criterion_labels — Google Ads customers ad group criterion labels operations
- — Creates and removes ad group criterion labels. Operation statuses are returned.
google-ads-pp-cli customers_ad_group_criterion_labels <customerId>
customers_ad_group_customizers — Google Ads customers ad group customizers operations
- — Creates, updates or removes ad group customizers. Operation statuses are returned.
google-ads-pp-cli customers_ad_group_customizers <customerId>
customers_ad_group_labels — Google Ads customers ad group labels operations
- — Creates and removes ad group labels. Operation statuses are returned.
google-ads-pp-cli customers_ad_group_labels <customerId>
customers_ad_groups — Google Ads customers ad groups operations
- — Creates, updates, or removes ad groups. Operation statuses are returned.
google-ads-pp-cli customers_ad_groups <customerId>
customers_ad_parameters — Google Ads customers ad parameters operations
- — Creates, updates, or removes ad parameters. Operation statuses are returned.
google-ads-pp-cli customers_ad_parameters <customerId>
customers_ads — Google Ads customers ads operations
- — Updates ads. Operation statuses are returned. Updating ads is not supported for TextAd, ExpandedDynamicSearchAd,...
google-ads-pp-cli customers_ads <customerId>
customers_asset_generations — Google Ads customers asset generations operations
- — Uses generative AI to generate images that can be used as assets in a campaign.
google-ads-pp-cli customers_asset_generations generate_images - — Uses generative AI to generate text that can be used as assets in a campaign.
google-ads-pp-cli customers_asset_generations generate_text
customers_asset_group_assets — Google Ads customers asset group assets operations
- — Creates, updates or removes asset group assets. Operation statuses are returned.
google-ads-pp-cli customers_asset_group_assets <customerId>
customers_asset_group_listing_group_filters — Google Ads customers asset group listing group filters operations
- — Creates, updates or removes asset group listing group filters. Operation statuses are returned.
google-ads-pp-cli customers_asset_group_listing_group_filters <customerId>
customers_asset_group_signals — Google Ads customers asset group signals operations
- — Creates or removes asset group signals. Operation statuses are returned.
google-ads-pp-cli customers_asset_group_signals <customerId>
customers_asset_groups — Google Ads customers asset groups operations
- — Creates, updates or removes asset groups. Operation statuses are returned.
google-ads-pp-cli customers_asset_groups <customerId>
customers_asset_set_assets — Google Ads customers asset set assets operations
- — Creates, updates or removes asset set assets. Operation statuses are returned.
google-ads-pp-cli customers_asset_set_assets <customerId>
customers_asset_sets — Google Ads customers asset sets operations
- — Creates, updates or removes asset sets. Operation statuses are returned.
google-ads-pp-cli customers_asset_sets <customerId>
customers_assets — Google Ads customers assets operations
- — Creates assets. Operation statuses are returned.
google-ads-pp-cli customers_assets <customerId>
customers_audiences — Google Ads customers audiences operations
- — Creates audiences. Operation statuses are returned.
google-ads-pp-cli customers_audiences <customerId>
customers_batch_jobs — Google Ads customers batch jobs operations
- — Add operations to the batch job.
google-ads-pp-cli customers_batch_jobs add_operations - — Returns the results of the batch job. The job must be done. Supports standard list paging.
google-ads-pp-cli customers_batch_jobs list_results - — Mutates a batch job.
google-ads-pp-cli customers_batch_jobs mutate - — Runs the batch job. The Operation.metadata field type is BatchJobMetadata. When finished, the long running operation...
google-ads-pp-cli customers_batch_jobs run
customers_bidding_data_exclusions — Google Ads customers bidding data exclusions operations
- — Creates, updates, or removes data exclusions. Operation statuses are returned.
google-ads-pp-cli customers_bidding_data_exclusions <customerId>
customers_bidding_seasonality_adjustments — Google Ads customers bidding seasonality adjustments operations
- — Creates, updates, or removes seasonality adjustments. Operation statuses are returned.
google-ads-pp-cli customers_bidding_seasonality_adjustments <customerId>
customers_bidding_strategies — Google Ads customers bidding strategies operations
- — Creates, updates, or removes bidding strategies. Operation statuses are returned.
google-ads-pp-cli customers_bidding_strategies <customerId>
customers_billing_setups — Google Ads customers billing setups operations
- — Creates a billing setup, or cancels an existing billing setup.
google-ads-pp-cli customers_billing_setups <customerId>
customers_campaign_asset_sets — Google Ads customers campaign asset sets operations
- — Creates, updates or removes campaign asset sets. Operation statuses are returned.
google-ads-pp-cli customers_campaign_asset_sets <customerId>
customers_campaign_assets — Google Ads customers campaign assets operations
- — Creates, updates, or removes campaign assets. Operation statuses are returned.
google-ads-pp-cli customers_campaign_assets <customerId>
customers_campaign_bid_modifiers — Google Ads customers campaign bid modifiers operations
- — Creates, updates, or removes campaign bid modifiers. Operation statuses are returned.
google-ads-pp-cli customers_campaign_bid_modifiers <customerId>
customers_campaign_budgets — Google Ads customers campaign budgets operations
- — Creates, updates, or removes campaign budgets. Operation statuses are returned.
google-ads-pp-cli customers_campaign_budgets <customerId>
customers_campaign_conversion_goals — Google Ads customers campaign conversion goals operations
- — Creates, updates or removes campaign conversion goals. Operation statuses are returned.
google-ads-pp-cli customers_campaign_conversion_goals <customerId>
customers_campaign_criteria — Google Ads customers campaign criteria operations
- — Creates, updates, or removes criteria. Operation statuses are returned.
google-ads-pp-cli customers_campaign_criteria <customerId>
customers_campaign_customizers — Google Ads customers campaign customizers operations
- — Creates, updates or removes campaign customizers. Operation statuses are returned.
google-ads-pp-cli customers_campaign_customizers <customerId>
customers_campaign_drafts — Google Ads customers campaign drafts operations
- — Returns all errors that occurred during CampaignDraft promote. Throws an error if called before campaign draft is...
google-ads-pp-cli customers_campaign_drafts list_async_errors - — Creates, updates, or removes campaign drafts. Operation statuses are returned.
google-ads-pp-cli customers_campaign_drafts mutate - — Promotes the changes in a draft back to the base campaign. This method returns a Long Running Operation (LRO)...
google-ads-pp-cli customers_campaign_drafts promote
customers_campaign_goal_configs — Google Ads customers campaign goal configs operations
- — Create or update campaign goal configs.
google-ads-pp-cli customers_campaign_goal_configs <customerId>
customers_campaign_groups — Google Ads customers campaign groups operations
- — Creates, updates, or removes campaign groups. Operation statuses are returned.
google-ads-pp-cli customers_campaign_groups <customerId>
customers_campaign_labels — Google Ads customers campaign labels operations
- — Creates and removes campaign-label relationships. Operation statuses are returned.
google-ads-pp-cli customers_campaign_labels <customerId>
customers_campaign_lifecycle_goal — Google Ads customers campaign lifecycle goal operations
- — Process the given campaign lifecycle configurations.
google-ads-pp-cli customers_campaign_lifecycle_goal <customerId>
customers_campaign_shared_sets — Google Ads customers campaign shared sets operations
- — Creates or removes campaign shared sets. Operation statuses are returned.
google-ads-pp-cli customers_campaign_shared_sets <customerId>
customers_campaigns — Google Ads customers campaigns operations
- — Enables Brand Guidelines for Performance Max campaigns.
google-ads-pp-cli customers_campaigns enable_pmax_brand_guidelines - — Creates, updates, or removes campaigns. Operation statuses are returned.
google-ads-pp-cli customers_campaigns mutate
customers_conversion_actions — Google Ads customers conversion actions operations
- — Creates, updates or removes conversion actions. Operation statuses are returned.
google-ads-pp-cli customers_conversion_actions <customerId>
customers_conversion_custom_variables — Google Ads customers conversion custom variables operations
- — Creates or updates conversion custom variables. Operation statuses are returned.
google-ads-pp-cli customers_conversion_custom_variables <customerId>
customers_conversion_goal_campaign_configs — Google Ads customers conversion goal campaign configs operations
- — Creates, updates or removes conversion goal campaign config. Operation statuses are returned.
google-ads-pp-cli customers_conversion_goal_campaign_configs <customerId>
customers_conversion_value_rule_sets — Google Ads customers conversion value rule sets operations
- — Creates, updates or removes conversion value rule sets. Operation statuses are returned.
google-ads-pp-cli customers_conversion_value_rule_sets <customerId>
customers_conversion_value_rules — Google Ads customers conversion value rules operations
- — Creates, updates, or removes conversion value rules. Operation statuses are returned.
google-ads-pp-cli customers_conversion_value_rules <customerId>
customers_custom_audiences — Google Ads customers custom audiences operations
- — Creates or updates custom audiences. Operation statuses are returned.
google-ads-pp-cli customers_custom_audiences <customerId>
customers_custom_conversion_goals — Google Ads customers custom conversion goals operations
- — Creates, updates or removes custom conversion goals. Operation statuses are returned.
google-ads-pp-cli customers_custom_conversion_goals <customerId>
customers_custom_interests — Google Ads customers custom interests operations
- — Creates or updates custom interests. Operation statuses are returned.
google-ads-pp-cli customers_custom_interests <customerId>
customers_customer_asset_sets — Google Ads customers customer asset sets operations
- — Creates, or removes customer asset sets. Operation statuses are returned.
google-ads-pp-cli customers_customer_asset_sets <customerId>
customers_customer_assets — Google Ads customers customer assets operations
- — Creates, updates, or removes customer assets. Operation statuses are returned.
google-ads-pp-cli customers_customer_assets <customerId>
customers_customer_client_links — Google Ads customers customer client links operations
- — Creates or updates a customer client link. Operation statuses are returned.
google-ads-pp-cli customers_customer_client_links <customerId>
customers_customer_conversion_goals — Google Ads customers customer conversion goals operations
- — Creates, updates or removes customer conversion goals. Operation statuses are returned.
google-ads-pp-cli customers_customer_conversion_goals <customerId>
customers_customer_customizers — Google Ads customers customer customizers operations
- — Creates, updates or removes customer customizers. Operation statuses are returned.
google-ads-pp-cli customers_customer_customizers <customerId>
customers_customer_labels — Google Ads customers customer labels operations
- — Creates and removes customer-label relationships. Operation statuses are returned.
google-ads-pp-cli customers_customer_labels <customerId>
customers_customer_lifecycle_goal — Google Ads customers customer lifecycle goal operations
- — Process the given customer lifecycle configurations.
google-ads-pp-cli customers_customer_lifecycle_goal <customerId>
customers_customer_manager_links — Google Ads customers customer manager links operations
- — Moves a client customer to a new manager customer. This simplifies the complex request that requires two operations...
google-ads-pp-cli customers_customer_manager_links move_manager_link - — Updates customer manager links. Operation statuses are returned.
google-ads-pp-cli customers_customer_manager_links mutate
customers_customer_negative_criteria — Google Ads customers customer negative criteria operations
- — Creates or removes criteria. Operation statuses are returned.
google-ads-pp-cli customers_customer_negative_criteria <customerId>
customers_customer_sk_ad_network_conversion_value_schemas — Google Ads customers customer sk ad network conversion value schemas operations
- — Creates or updates the CustomerSkAdNetworkConversionValueSchema.
google-ads-pp-cli customers_customer_sk_ad_network_conversion_value_schemas <customerId>
customers_customer_user_access_invitations — Google Ads customers customer user access invitations operations
- — Creates or removes an access invitation.
google-ads-pp-cli customers_customer_user_access_invitations <customerId>
customers_customer_user_accesses — Google Ads customers customer user accesses operations
- — Updates, removes permission of a user on a given customer. Operation statuses are returned.
google-ads-pp-cli customers_customer_user_accesses <customerId>
customers_customizer_attributes — Google Ads customers customizer attributes operations
- — Creates, updates or removes customizer attributes. Operation statuses are returned.
google-ads-pp-cli customers_customizer_attributes <customerId>
customers_data_links — Google Ads customers data links operations
- — Creates a data link. The requesting Google Ads account name and account ID will be shared with the third party (such...
google-ads-pp-cli customers_data_links create - — Remove a data link.
google-ads-pp-cli customers_data_links remove - — Update a data link.
google-ads-pp-cli customers_data_links update
customers_experiment_arms — Google Ads customers experiment arms operations
- — Creates, updates, or removes experiment arms. Operation statuses are returned.
google-ads-pp-cli customers_experiment_arms <customerId>
customers_experiments — Google Ads customers experiments operations
- — Immediately ends an experiment, changing the experiment's scheduled end date and without waiting for end of day. End...
google-ads-pp-cli customers_experiments end_experiment - — Graduates an experiment to a full campaign.
google-ads-pp-cli customers_experiments graduate_experiment - — Returns all errors that occurred during the last Experiment update (either scheduling or promotion). Supports...
google-ads-pp-cli customers_experiments list_experiment_async_errors - — Creates, updates, or removes experiments. Operation statuses are returned.
google-ads-pp-cli customers_experiments mutate - — Promotes the trial campaign thus applying changes in the trial campaign to the base campaign. This method returns a...
google-ads-pp-cli customers_experiments promote_experiment - — Schedule an experiment. The in design campaign will be converted into a real campaign (called the experiment...
google-ads-pp-cli customers_experiments schedule_experiment
customers_goals — Google Ads customers goals operations
- — Create or update goals.
google-ads-pp-cli customers_goals <customerId>
customers_google_ads — Google Ads customers google ads operations
- — Creates, updates, or removes resources. This method supports atomic transactions with multiple types of resources....
google-ads-pp-cli customers_google_ads mutate - — Returns all rows that match the search query.
google-ads-pp-cli customers_google_ads search - — Returns all rows that match the search stream query.
google-ads-pp-cli customers_google_ads search_stream
customers_invoices — Google Ads customers invoices operations
- — Returns all invoices associated with a billing setup, for a given month.
google-ads-pp-cli customers_invoices <customerId>
customers_keyword_plan_ad_group_keywords — Google Ads customers keyword plan ad group keywords operations
- — Creates, updates, or removes Keyword Plan ad group keywords. Operation statuses are returned.
google-ads-pp-cli customers_keyword_plan_ad_group_keywords <customerId>
customers_keyword_plan_ad_groups — Google Ads customers keyword plan ad groups operations
- — Creates, updates, or removes Keyword Plan ad groups. Operation statuses are returned.
google-ads-pp-cli customers_keyword_plan_ad_groups <customerId>
customers_keyword_plan_campaign_keywords — Google Ads customers keyword plan campaign keywords operations
- — Creates, updates, or removes Keyword Plan campaign keywords. Operation statuses are returned.
google-ads-pp-cli customers_keyword_plan_campaign_keywords <customerId>
customers_keyword_plan_campaigns — Google Ads customers keyword plan campaigns operations
- — Creates, updates, or removes Keyword Plan campaigns. Operation statuses are returned.
google-ads-pp-cli customers_keyword_plan_campaigns <customerId>
customers_keyword_plans — Google Ads customers keyword plans operations
- — Creates, updates, or removes keyword plans. Operation statuses are returned.
google-ads-pp-cli customers_keyword_plans <customerId>
customers_labels — Google Ads customers labels operations
- — Creates, updates, or removes labels. Operation statuses are returned.
google-ads-pp-cli customers_labels <customerId>
customers_local_services — Google Ads customers local services operations
- — RPC to append Local Services Lead Conversation resources to Local Services Lead resources.
google-ads-pp-cli customers_local_services <customerId>
customers_local_services_leads — Google Ads customers local services leads operations
- — RPC to provide feedback on Local Services Lead resources.
google-ads-pp-cli customers_local_services_leads <resourceName>
customers_offline_user_data_jobs — Google Ads customers offline user data jobs operations
- — Adds operations to the offline user data job.
google-ads-pp-cli customers_offline_user_data_jobs add_operations - — Creates an offline user data job.
google-ads-pp-cli customers_offline_user_data_jobs create - — Runs the offline user data job. When finished, the long running operation will contain the processing result or...
google-ads-pp-cli customers_offline_user_data_jobs run
customers_operations — Google Ads customers operations operations
- — Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the...
google-ads-pp-cli customers_operations cancel - — Deletes a long-running operation. This method indicates that the client is no longer interested in the operation...
google-ads-pp-cli customers_operations delete - — Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at...
google-ads-pp-cli customers_operations get - — Lists operations that match the specified filter in the request. If the server doesn't support this method, it...
google-ads-pp-cli customers_operations list - — Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the...
google-ads-pp-cli customers_operations wait
customers_payments_accounts — Google Ads customers payments accounts operations
- — Returns all payments accounts associated with all managers between the login customer ID and specified serving...
google-ads-pp-cli customers_payments_accounts <customerId>
customers_product_link_invitations — Google Ads customers product link invitations operations
- — Creates a product link invitation.
google-ads-pp-cli customers_product_link_invitations create - — Remove a product link invitation.
google-ads-pp-cli customers_product_link_invitations remove - — Update a product link invitation.
google-ads-pp-cli customers_product_link_invitations update
customers_product_links — Google Ads customers product links operations
- — Creates a product link.
google-ads-pp-cli customers_product_links create - — Removes a product link.
google-ads-pp-cli customers_product_links remove
customers_recommendation_subscriptions — Google Ads customers recommendation subscriptions operations
- — Mutates given subscription with corresponding apply parameters.
google-ads-pp-cli customers_recommendation_subscriptions <customerId>
customers_recommendations — Google Ads customers recommendations operations
- — Applies given recommendations with corresponding apply parameters.
google-ads-pp-cli customers_recommendations apply - — Dismisses given recommendations.
google-ads-pp-cli customers_recommendations dismiss - — Generates Recommendations based off the requested recommendation_types.
google-ads-pp-cli customers_recommendations generate
customers_remarketing_actions — Google Ads customers remarketing actions operations
- — Creates or updates remarketing actions. Operation statuses are returned.
google-ads-pp-cli customers_remarketing_actions <customerId>
customers_shared_criteria — Google Ads customers shared criteria operations
- — Creates or removes shared criteria. Operation statuses are returned.
google-ads-pp-cli customers_shared_criteria <customerId>
customers_shared_sets — Google Ads customers shared sets operations
- — Creates, updates, or removes shared sets. Operation statuses are returned.
google-ads-pp-cli customers_shared_sets <customerId>
customers_smart_campaign_settings — Google Ads customers smart campaign settings operations
- — Returns the status of the requested Smart campaign.
google-ads-pp-cli customers_smart_campaign_settings get_smart_campaign_status - — Updates Smart campaign settings for campaigns.
google-ads-pp-cli customers_smart_campaign_settings mutate
customers_third_party_app_analytics_links — Google Ads customers third party app analytics links operations
- — Regenerate ThirdPartyAppAnalyticsLink.shareable_link_id that should be provided to the third party when setting up...
google-ads-pp-cli customers_third_party_app_analytics_links <resourceName>
customers_user_list_customer_types — Google Ads customers user list customer types operations
- — Attach or remove user list customer types. Operation statuses are returned.
google-ads-pp-cli customers_user_list_customer_types <customerId>
customers_user_lists — Google Ads customers user lists operations
- — Creates or updates user lists. Operation statuses are returned.
google-ads-pp-cli customers_user_lists <customerId>
geo_target_constants — Google Ads geo target constants operations
- — Returns GeoTargetConstant suggestions by location name or by resource name.
google-ads-pp-cli geo_target_constants
google_ads — Google Ads google ads operations
- — Returns a collection of conversion rate suggestions for supported plannable products.
google-ads-pp-cli google_ads generate_conversion_rates - — Returns the list of plannable locations (for example, countries).
google-ads-pp-cli google_ads list_plannable_locations - — Returns the list of per-location plannable YouTube ad formats with allowed targeting.
google-ads-pp-cli google_ads list_plannable_products - — Returns the list of plannable user interests. A plannable user interest is one that can be targeted in a reach...
google-ads-pp-cli google_ads list_plannable_user_interests - — Returns the list of plannable user lists with their plannable status. User lists may not be plannable for a number...
google-ads-pp-cli google_ads list_plannable_user_lists
google_ads_fields — Google Ads google ads fields operations
- — Returns just the requested field.
google-ads-pp-cli google_ads_fields get - — Returns all fields that match the search query.
google-ads-pp-cli google_ads_fields search
keyword_theme_constants — Google Ads keyword theme constants operations
- — Returns KeywordThemeConstant suggestions by keyword themes.
google-ads-pp-cli keyword_theme_constants
audience_insights — Google Ads受众洞察操作
- — 列出可请求受众洞察数据的日期范围。
google-ads-pp-cli audience_insights
customers — Google Ads客户操作
- — 在管理账户下创建新的客户账户,并返回新创建的客户账户信息。
google-ads-pp-cli customers create_customer_client - — 根据给定关键词返回建议的广告组列表及建议修改内容(文本、匹配类型)。
google-ads-pp-cli customers generate_ad_group_themes - — 返回目标受众群体中所包含的属性集合,以及各属性对应的对比指标……
google-ads-pp-cli customers generate_audience_composition_insights - — 返回受众属性集合,以及这些属性对应的潜在YouTube受众重叠估算值……
google-ads-pp-cli customers generate_audience_overlap_insights - — 返回YouTube创作者及频道的洞察信息。
google-ads-pp-cli customers generate_creator_insights - — 创建可在Insights Finder工具中查看的已保存报表。
google-ads-pp-cli customers generate_insights_finder_report - — 返回给定广告系列的关键词预测指标(如展示量、点击量、总成本等)。
google-ads-pp-cli customers generate_keyword_forecast_metrics - — 返回关键词历史指标列表。
google-ads-pp-cli customers generate_keyword_historical_metrics - — 返回关键词创意列表。
google-ads-pp-cli customers generate_keyword_ideas - — 根据给定的定位/产品组合生成触达预测。
google-ads-pp-cli customers generate_reach_forecast - — 返回请求的可分享预览内容。
google-ads-pp-cli customers generate_shareable_previews - — 返回与请求受众相关的定位洞察集合(如可定位受众)。
google-ads-pp-cli customers generate_suggested_targeting_insights - — 返回可定位受众的潜在触达指标。该方法可帮助解答类似“年龄在……的男性受众数量有多少”这类问题……
google-ads-pp-cli customers generate_targeting_suggestion_metrics - — 返回YouTube上热门内容的洞察信息。
google-ads-pp-cli customers generate_trending_insights - — 返回身份验证信息。
google-ads-pp-cli customers get_identity_verification - — 返回调用者可直接访问的客户资源名称。
google-ads-pp-cli customers list_accessible_customers - — 更新客户账户信息,返回操作状态。
google-ads-pp-cli customers mutate - — 从广告系列中移除自动创建的资产。
google-ads-pp-cli customers remove_campaign_automatically_created_asset - — 搜索可用于生成洞察的受众属性。
google-ads-pp-cli customers search_audience_insights_attributes - — 针对指定验证程序类型启动身份验证,返回状态信息。
google-ads-pp-cli customers start_identity_verification - — 根据前缀返回匹配的品牌列表。
google-ads-pp-cli customers suggest_brands - — 建议可用于广告投放的关键词主题。
google-ads-pp-cli customers suggest_keyword_themes - — 根据定位等数据点建议与广告资源系列兼容的智能广告系列广告……
google-ads-pp-cli customers suggest_smart_campaign_ad - — 返回预算选项建议。
google-ads-pp-cli customers suggest_smart_campaign_budget_options - — 返回旅行资产建议。资产建议基于最佳努力原则返回,不保证……
google-ads-pp-cli customers suggest_travel_assets - — 处理给定的通话转化数据。
google-ads-pp-cli customers upload_call_conversions - — 处理给定的点击转化数据。
google-ads-pp-cli customers upload_click_conversions - — 处理给定的转化调整数据。
google-ads-pp-cli customers upload_conversion_adjustments - — 上传给定的用户数据。
google-ads-pp-cli customers upload_user_data
customers_account_budget_proposals — Google Ads客户账户预算提案操作
- — 创建、更新或删除账户预算提案,返回操作状态。
google-ads-pp-cli customers_account_budget_proposals <customerId>
customers_account_links — Google Ads客户账户链接操作
- — 创建账户链接。
google-ads-pp-cli customers_account_links create - — 创建或删除账户链接。从V5版本开始,AccountLinkService.MutateAccountLink不再支持创建操作……
google-ads-pp-cli customers_account_links mutate
customers_ad_group_ad_labels — Google Ads客户广告组广告标签操作
- — 创建和删除广告组广告标签,返回操作状态。
google-ads-pp-cli customers_ad_group_ad_labels <customerId>
customers_ad_group_ads — Google Ads客户广告组广告操作
- — 创建、更新或删除广告,返回操作状态。
google-ads-pp-cli customers_ad_group_ads mutate - — 从广告中移除自动创建的资产。
google-ads-pp-cli customers_ad_group_ads remove_automatically_created_assets
customers_ad_group_asset_sets — Google Ads客户广告组资产集操作
- — 创建或删除广告组资产集,返回操作状态。
google-ads-pp-cli customers_ad_group_asset_sets <customerId>
customers_ad_group_assets — Google Ads客户广告组资产操作
- — 创建、更新或删除广告组资产,返回操作状态。
google-ads-pp-cli customers_ad_group_assets <customerId>
customers_ad_group_bid_modifiers — Google Ads客户广告组出价调整操作
- — 创建、更新或删除广告组出价调整,返回操作状态。
google-ads-pp-cli customers_ad_group_bid_modifiers <customerId>
customers_ad_group_criteria — Google Ads客户广告组条件操作
- — 创建、更新或删除条件,返回操作状态。
google-ads-pp-cli customers_ad_group_criteria <customerId>
customers_ad_group_criterion_customizers — Google Ads客户广告组条件自定义操作
- — 创建、更新或删除广告组条件自定义项,返回操作状态。
google-ads-pp-cli customers_ad_group_criterion_customizers <customerId>
customers_ad_group_criterion_labels — Google Ads客户广告组条件标签操作
- — 创建和删除广告组条件标签,返回操作状态。
google-ads-pp-cli customers_ad_group_criterion_labels <customerId>
customers_ad_group_customizers — Google Ads客户广告组自定义操作
- — 创建、更新或删除广告组自定义项,返回操作状态。
google-ads-pp-cli customers_ad_group_customizers <customerId>
customers_ad_group_labels — Google Ads客户广告组标签操作
- — 创建和删除广告组标签,返回操作状态。
google-ads-pp-cli customers_ad_group_labels <customerId>
customers_ad_groups — Google Ads客户广告组操作
- — 创建、更新或删除广告组,返回操作状态。
google-ads-pp-cli customers_ad_groups <customerId>
customers_ad_parameters — Google Ads客户广告参数操作
- — 创建、更新或删除广告参数,返回操作状态。
google-ads-pp-cli customers_ad_parameters <customerId>
customers_ads — Google Ads客户广告操作
- — 更新广告,返回操作状态。不支持更新TextAd、ExpandedDynamicSearchAd等类型的广告……
google-ads-pp-cli customers_ads <customerId>
customers_asset_generations — Google Ads客户资产生成操作
- — 使用生成式AI生成可作为广告系列资产的图片。
google-ads-pp-cli customers_asset_generations generate_images - — 使用生成式AI生成可作为广告系列资产的文本。
google-ads-pp-cli customers_asset_generations generate_text
customers_asset_group_assets — Google Ads客户资产组资产操作
- — 创建、更新或删除资产组资产,返回操作状态。
google-ads-pp-cli customers_asset_group_assets <customerId>
customers_asset_group_listing_group_filters — Google Ads客户资产组列表组筛选器操作
- — 创建、更新或删除资产组列表组筛选器,返回操作状态。
google-ads-pp-cli customers_asset_group_listing_group_filters <customerId>
customers_asset_group_signals — Google Ads客户资产组信号操作
- — 创建或删除资产组信号,返回操作状态。
google-ads-pp-cli customers_asset_group_signals <customerId>
customers_asset_groups — Google Ads客户资产组操作
- — 创建、更新或删除资产组,返回操作状态。
google-ads-pp-cli customers_asset_groups <customerId>
customers_asset_set_assets — Google Ads客户资产集资产操作
- — 创建、更新或删除资产集资产,返回操作状态。
google-ads-pp-cli customers_asset_set_assets <customerId>
customers_asset_sets — Google Ads客户资产集操作
- — 创建、更新或删除资产集,返回操作状态。
google-ads-pp-cli customers_asset_sets <customerId>
customers_assets — Google Ads客户资产操作
- — 创建资产,返回操作状态。
google-ads-pp-cli customers_assets <customerId>
customers_audiences — Google Ads客户受众操作
- — 创建受众群体,返回操作状态。
google-ads-pp-cli customers_audiences <customerId>
customers_batch_jobs — Google Ads客户批量作业操作
- — 向批量作业添加操作。
google-ads-pp-cli customers_batch_jobs add_operations - — 返回批量作业结果,作业必须已完成。支持标准列表分页。
google-ads-pp-cli customers_batch_jobs list_results - — 修改批量作业。
google-ads-pp-cli customers_batch_jobs mutate - — 运行批量作业。Operation.metadata字段类型为BatchJobMetadata。完成后,长时间运行的操作……
google-ads-pp-cli customers_batch_jobs run
customers_bidding_data_exclusions — Google Ads客户出价数据排除操作
- — 创建、更新或删除数据排除项,返回操作状态。
google-ads-pp-cli customers_bidding_data_exclusions <customerId>
customers_bidding_seasonality_adjustments — Google Ads客户出价季节性调整操作
- — 创建、更新或删除季节性调整项,返回操作状态。
google-ads-pp-cli customers_bidding_seasonality_adjustments <customerId>
customers_bidding_strategies — Google Ads客户出价策略操作
- — 创建、更新或删除出价策略,返回操作状态。
google-ads-pp-cli customers_bidding_strategies <customerId>
customers_billing_setups — Google Ads客户账单设置操作
- — 创建账单设置或取消现有账单设置。
google-ads-pp-cli customers_billing_setups <customerId>
customers_campaign_asset_sets — Google Ads客户广告系列资产集操作
- — 创建、更新或删除广告系列资产集,返回操作状态。
google-ads-pp-cli customers_campaign_asset_sets <customerId>
customers_campaign_assets — Google Ads客户广告系列资产操作
- — 创建、更新或删除广告系列资产,返回操作状态。
google-ads-pp-cli customers_campaign_assets <customerId>
customers_campaign_bid_modifiers — Google Ads客户广告系列出价调整操作
- — 创建、更新或删除广告系列出价调整,返回操作状态。
google-ads-pp-cli customers_campaign_bid_modifiers <customerId>
customers_campaign_budgets — Google Ads客户广告系列预算操作
- — 创建、更新或删除广告系列预算,返回操作状态。
google-ads-pp-cli customers_campaign_budgets <customerId>
customers_campaign_conversion_goals — Google Ads客户广告系列转化目标操作
- — 创建、更新或删除广告系列转化目标,返回操作状态。
google-ads-pp-cli customers_campaign_conversion_goals <customerId>
customers_campaign_criteria — Google Ads客户广告系列条件操作
- — 创建、更新或删除条件,返回操作状态。
google-ads-pp-cli customers_campaign_criteria <customerId>
customers_campaign_customizers — Google Ads客户广告系列自定义操作
- — 创建、更新或删除广告系列自定义项,返回操作状态。
google-ads-pp-cli customers_campaign_customizers <customerId>
customers_campaign_drafts — Google Ads客户广告系列草稿操作
- — 返回CampaignDraft推广过程中发生的所有错误。在广告系列草稿完成前调用会抛出错误……
google-ads-pp-cli customers_campaign_drafts list_async_errors - — 创建、更新或删除广告系列草稿,返回操作状态。
google-ads-pp-cli customers_campaign_drafts mutate - — 将草稿中的更改推广回基础广告系列。该方法返回一个长时间运行的操作(LRO)……
google-ads-pp-cli customers_campaign_drafts promote
customers_campaign_goal_configs — Google Ads客户广告系列目标配置操作
- — 创建或更新广告系列目标配置。
google-ads-pp-cli customers_campaign_goal_configs <customerId>
customers_campaign_groups — Google Ads客户广告系列组操作
- — 创建、更新或删除广告系列组,返回操作状态。
google-ads-pp-cli customers_campaign_groups <customerId>
customers_campaign_labels — Google Ads客户广告系列标签操作
- — 创建和删除广告系列与标签的关联关系,返回操作状态。
google-ads-pp-cli customers_campaign_labels <customerId>
customers_campaign_lifecycle_goal — Google Ads客户广告系列生命周期目标操作
- — 处理给定的广告系列生命周期配置。
google-ads-pp-cli customers_campaign_lifecycle_goal <customerId>
customers_campaign_shared_sets — Google Ads客户广告系列共享集操作
- — 创建或删除广告系列共享集,返回操作状态。
google-ads-pp-cli customers_campaign_shared_sets <customerId>
customers_campaigns — Google Ads客户广告系列操作
- — 为Performance Max广告系列启用品牌指南。
google-ads-pp-cli customers_campaigns enable_pmax_brand_guidelines - — 创建、更新或删除广告系列,返回操作状态。
google-ads-pp-cli customers_campaigns mutate
customers_conversion_actions — Google Ads客户转化操作
- — 创建、更新或删除转化操作,返回操作状态。
google-ads-pp-cli customers_conversion_actions <customerId>
customers_conversion_custom_variables — Google Ads客户转化自定义变量操作
- — 创建或更新转化自定义变量,返回操作状态。
google-ads-pp-cli customers_conversion_custom_variables <customerId>
customers_conversion_goal_campaign_configs — Google Ads客户转化目标广告系列配置操作
- — 创建、更新或删除转化目标广告系列配置,返回操作状态。
google-ads-pp-cli customers_conversion_goal_campaign_configs <customerId>
customers_conversion_value_rule_sets — Google Ads客户转化价值规则集操作
- — 创建、更新或删除转化价值规则集,返回操作状态。
google-ads-pp-cli customers_conversion_value_rule_sets <customerId>
customers_conversion_value_rules — Google Ads客户转化价值规则操作
- — 创建、更新或删除转化价值规则,返回操作状态。
google-ads-pp-cli customers_conversion_value_rules <customerId>
customers_custom_audiences — Google Ads客户自定义受众操作
- — 创建或更新自定义受众,返回操作状态。
google-ads-pp-cli customers_custom_audiences <customerId>
customers_custom_conversion_goals — Google Ads客户自定义转化目标操作
- — 创建、更新或删除自定义转化目标,返回操作状态。
google-ads-pp-cli customers_custom_conversion_goals <customerId>
customers_custom_interests — Google Ads客户自定义兴趣操作
- — 创建或更新自定义兴趣,返回操作状态。
google-ads-pp-cli customers_custom_interests <customerId>
customers_customer_asset_sets — Google Ads客户账户资产集操作
- — 创建或删除客户账户资产集,返回操作状态。
google-ads-pp-cli customers_customer_asset_sets <customerId>
customers_customer_assets — Google Ads客户账户资产操作
- — 创建、更新或删除客户账户资产,返回操作状态。
google-ads-pp-cli customers_customer_assets <customerId>
customers_customer_client_links — Google Ads客户账户客户链接操作
- — 创建或更新客户账户客户链接,返回操作状态。
google-ads-pp-cli customers_customer_client_links <customerId>
customers_customer_conversion_goals — Google Ads客户账户转化目标操作
- — 创建、更新或删除客户账户转化目标,返回操作状态。
google-ads-pp-cli customers_customer_conversion_goals <customerId>
customers_customer_customizers — Google Ads客户账户自定义操作
- — 创建、更新或删除客户账户自定义项,返回操作状态。
google-ads-pp-cli customers_customer_customizers <customerId>
customers_customer_labels — Google Ads客户账户标签操作
- — 创建和删除客户账户与标签的关联关系,返回操作状态。
google-ads-pp-cli customers_customer_labels <customerId>
customers_customer_lifecycle_goal — Google Ads客户账户生命周期目标操作
- — 处理给定的客户账户生命周期配置。
google-ads-pp-cli customers_customer_lifecycle_goal <customerId>
customers_customer_manager_links — Google Ads客户账户管理链接操作
- — 将客户账户迁移到新的管理账户。这简化了需要两个操作的复杂请求……
google-ads-pp-cli customers_customer_manager_links move_manager_link - — 更新客户账户管理链接,返回操作状态。
google-ads-pp-cli customers_customer_manager_links mutate
customers_customer_negative_criteria — Google Ads客户账户否定条件操作
- — 创建或删除否定条件,返回操作状态。
google-ads-pp-cli customers_customer_negative_criteria <customerId>
customers_customer_sk_ad_network_conversion_value_schemas — Google Ads客户账户SkAdNetwork转化价值模式操作
- — 创建或更新CustomerSkAdNetworkConversionValueSchema。
google-ads-pp-cli customers_customer_sk_ad_network_conversion_value_schemas <customerId>
customers_customer_user_access_invitations — Google Ads客户账户用户访问邀请操作
- — 创建或删除访问邀请。
google-ads-pp-cli customers_customer_user_access_invitations <customerId>
customers_customer_user_accesses — Google Ads客户账户用户访问权限操作
- — 更新或删除用户在指定客户账户上的权限,返回操作状态。
google-ads-pp-cli customers_customer_user_accesses <customerId>
customers_customizer_attributes — Google Ads客户自定义属性操作
- — 创建、更新或删除自定义属性,返回操作状态。
google-ads-pp-cli customers_customizer_attributes <customerId>
customers_data_links — Google Ads客户数据链接操作
- — 创建数据链接。请求的Google Ads账户名称和账户ID将与第三方共享(如……
google-ads-pp-cli customers_data_links create - — 删除数据链接。
google-ads-pp-cli customers_data_links remove - — 更新数据链接。
google-ads-pp-cli customers_data_links update
customers_experiment_arms — Google Ads客户实验分支操作
- — 创建、更新或删除实验分支,返回操作状态。
google-ads-pp-cli customers_experiment_arms <customerId>
customers_experiments — Google Ads客户实验操作
- — 立即结束实验,更改实验的计划结束日期,无需等待当日结束。结束……
google-ads-pp-cli customers_experiments end_experiment - — 将实验升级为正式广告系列。
google-ads-pp-cli customers_experiments graduate_experiment - — 返回上次实验更新(调度或推广)过程中发生的所有错误。支持……
google-ads-pp-cli customers_experiments list_experiment_async_errors - — 创建、更新或删除实验,返回操作状态。
google-ads-pp-cli customers_experiments mutate - — 推广试用广告系列,将试用广告系列中的更改应用到基础广告系列。该方法返回一个……
google-ads-pp-cli customers_experiments promote_experiment - — 调度实验。设计中的广告系列将转换为真实广告系列(称为实验……
google-ads-pp-cli customers_experiments schedule_experiment
customers_goals — Google Ads客户目标操作
- — 创建或更新目标。
google-ads-pp-cli customers_goals <customerId>
customers_google_ads — Google Ads客户核心操作
- — 创建、更新或删除资源。该方法支持多种资源类型的原子事务……
google-ads-pp-cli customers_google_ads mutate - — 返回所有匹配搜索查询的行。
google-ads-pp-cli customers_google_ads search - — 返回所有匹配搜索流查询的行。
google-ads-pp-cli customers_google_ads search_stream
customers_invoices — Google Ads客户发票操作
- — 返回给定月份与账单设置关联的所有发票。
google-ads-pp-cli customers_invoices <customerId>
customers_keyword_plan_ad_group_keywords — Google Ads客户关键词计划广告组关键词操作
- — 创建、更新或删除关键词计划广告组关键词,返回操作状态。
google-ads-pp-cli customers_keyword_plan_ad_group_keywords <customerId>
customers_keyword_plan_ad_groups — Google Ads客户关键词计划广告组操作
- — 创建、更新或删除关键词计划广告组,返回操作状态。
google-ads-pp-cli customers_keyword_plan_ad_groups <customerId>
customers_keyword_plan_campaign_keywords — Google Ads客户关键词计划广告系列关键词操作
- — 创建、更新或删除关键词计划广告系列关键词,返回操作状态。
google-ads-pp-cli customers_keyword_plan_campaign_keywords <customerId>
customers_keyword_plan_campaigns — Google Ads客户关键词计划广告系列操作
- — 创建、更新或删除关键词计划广告系列,返回操作状态。
google-ads-pp-cli customers_keyword_plan_campaigns <customerId>
customers_keyword_plans — Google Ads客户关键词计划操作
- — 创建、更新或删除关键词计划,返回操作状态。
google-ads-pp-cli customers_keyword_plans <customerId>
customers_labels — Google Ads客户标签操作
- — 创建、更新或删除标签,返回操作状态。
google-ads-pp-cli customers_labels <customerId>
customers_local_services — Google Ads客户本地服务操作
- — 将本地服务潜在客户对话资源附加到本地服务潜在客户资源的RPC接口。
google-ads-pp-cli customers_local_services <customerId>
customers_local_services_leads — Google Ads客户本地服务潜在客户操作
- — 提供本地服务潜在客户资源反馈的RPC接口。
google-ads-pp-cli customers_local_services_leads <resourceName>
customers_offline_user_data_jobs — Google Ads客户离线用户数据作业操作
- — 向离线用户数据作业添加操作。
google-ads-pp-cli customers_offline_user_data_jobs add_operations - — 创建离线用户数据作业。
google-ads-pp-cli customers_offline_user_data_jobs create - — 运行离线用户数据作业。完成后,长时间运行的操作将包含处理结果或……
google-ads-pp-cli customers_offline_user_data_jobs run
customers_operations — Google Ads客户操作管理
- — 启动对长时间运行操作的异步取消。服务器会尽力取消……
google-ads-pp-cli customers_operations cancel - — 删除长时间运行的操作。该方法表示客户端不再对操作结果感兴趣……
google-ads-pp-cli customers_operations delete - — 获取长时间运行操作的最新状态。客户端可以使用此方法轮询操作结果……
google-ads-pp-cli customers_operations get - — 列出与请求中指定筛选条件匹配的操作。如果服务器不支持此方法,将……
google-ads-pp-cli customers_operations list - — 等待指定的长时间运行操作完成或达到指定超时时间,返回……
google-ads-pp-cli customers_operations wait
customers_payments_accounts — Google Ads客户支付账户操作
- — 返回登录客户ID与指定服务客户之间所有管理账户关联的所有支付账户……
google-ads-pp-cli customers_payments_accounts <customerId>
customers_product_link_invitations — Google Ads客户产品链接邀请操作
- — 创建产品链接邀请。
google-ads-pp-cli customers_product_link_invitations create - — 删除产品链接邀请。
google-ads-pp-cli customers_product_link_invitations remove - — 更新产品链接邀请。
google-ads-pp-cli customers_product_link_invitations update
customers_product_links — Google Ads客户产品链接操作
- — 创建产品链接。
google-ads-pp-cli customers_product_links create - — 删除产品链接。
google-ads-pp-cli customers_product_links remove
customers_recommendation_subscriptions — Google Ads客户推荐订阅操作
- — 使用相应的应用参数修改给定的订阅。
google-ads-pp-cli customers_recommendation_subscriptions <customerId>
customers_recommendations — Google Ads客户推荐操作
- — 使用相应的应用参数应用给定的推荐。
google-ads-pp-cli customers_recommendations apply - — 驳回给定的推荐。
google-ads-pp-cli customers_recommendations dismiss - — 根据请求的推荐类型生成推荐。
google-ads-pp-cli customers_recommendations generate
customers_remarketing_actions — Google Ads客户再营销操作
- — 创建或更新再营销操作,返回操作状态。
google-ads-pp-cli customers_remarketing_actions <customerId>
customers_shared_criteria — Google Ads客户共享条件操作
- — 创建或删除共享条件,返回操作状态。
google-ads-pp-cli customers_shared_criteria <customerId>
customers_shared_sets — Google Ads客户共享集操作
- — 创建、更新或删除共享集,返回操作状态。
google-ads-pp-cli customers_shared_sets <customerId>
customers_smart_campaign_settings — Google Ads客户智能广告系列设置操作
- — 返回请求的智能广告系列状态。
google-ads-pp-cli customers_smart_campaign_settings get_smart_campaign_status - — 更新广告系列的智能广告系列设置。
google-ads-pp-cli customers_smart_campaign_settings mutate
customers_third_party_app_analytics_links — Google Ads客户第三方应用分析链接操作
- — 重新生成ThirdPartyAppAnalyticsLink.shareable_link_id,在设置时应提供给第三方……
google-ads-pp-cli customers_third_party_app_analytics_links <resourceName>
customers_user_list_customer_types — Google Ads客户用户列表客户类型操作
- — 添加或移除用户列表客户类型,返回操作状态。
google-ads-pp-cli customers_user_list_customer_types <customerId>
customers_user_lists — Google Ads客户用户列表操作
- — 创建或更新用户列表,返回操作状态。
google-ads-pp-cli customers_user_lists <customerId>
geo_target_constants — Google Ads地理位置定位常量操作
- — 根据位置名称或资源名称返回GeoTargetConstant建议。
google-ads-pp-cli geo_target_constants
google_ads — Google Ads全局操作
- — 返回支持规划产品的转化率建议集合。
google-ads-pp-cli google_ads generate_conversion_rates - — 返回可规划位置列表(如国家/地区)。
google-ads-pp-cli google_ads list_plannable_locations - — 返回各位置可规划的YouTube广告格式列表及允许的定位方式。
google-ads-pp-cli google_ads list_plannable_products - — 返回可规划的用户兴趣列表。可规划用户兴趣是指可在触达……中定位的兴趣。
google-ads-pp-cli google_ads list_plannable_user_interests - — 返回可规划的用户列表及其可规划状态。用户列表可能因多种原因无法规划……
google-ads-pp-cli google_ads list_plannable_user_lists
google_ads_fields — Google Ads字段操作
- — 仅返回请求的字段。
google-ads-pp-cli google_ads_fields get - — 返回所有匹配搜索查询的字段。
google-ads-pp-cli google_ads_fields search
keyword_theme_constants — Google Ads关键词主题常量操作
- — 根据关键词主题返回KeywordThemeConstant建议。
google-ads-pp-cli keyword_theme_constants
Finding the right command
查找合适的命令
When you know what you want to do but not which command does it, ask the CLI directly:
bash
google-ads-pp-cli which "<capability in your own words>"which02--help当您知道要执行的操作但不知道对应的命令时,可以直接询问CLI:
bash
google-ads-pp-cli which "<用您自己的语言描述功能>"which02--helpAuth Setup
身份验证设置
Store your OAuth2 access token:
bash
google-ads-pp-cli auth set-token YOUR_TOKEN_HEREAlso set ; set when calling through a manager account.
GOOGLE_ADS_DEVELOPER_TOKENGOOGLE_ADS_LOGIN_CUSTOMER_IDRun to verify setup.
google-ads-pp-cli doctor存储您的OAuth2访问令牌:
bash
google-ads-pp-cli auth set-token YOUR_TOKEN_HERE同时设置;通过管理账户调用时,请设置。
GOOGLE_ADS_DEVELOPER_TOKENGOOGLE_ADS_LOGIN_CUSTOMER_ID运行验证设置是否正确。
google-ads-pp-cli doctorAgent Mode
代理模式
Add to any command. Expands to: .
--agent--json --compact --no-input --no-color --yes-
Pipeable — JSON on stdout, errors on stderr
-
Filterable —keeps a subset of fields. Dotted paths descend into nested structures; arrays traverse element-wise. Critical for keeping context small on verbose APIs:
--selectbashgoogle-ads-pp-cli customers_google_ads search mock-value --agent --select id,name,status -
Previewable —shows the request without sending
--dry-run -
Offline-friendly — sync/search commands can use the local SQLite store when available
-
Non-interactive — never prompts, every input is a flag
-
Explicit retries — useonly when an already-existing create should count as success, and
--idempotentonly when a missing delete target should count as success--ignore-missing
在任意命令后添加参数。等效于:。
--agent--json --compact --no-input --no-color --yes-
可管道传输 — 标准输出为JSON格式,错误信息输出到标准错误
-
可筛选 —参数保留字段子集。点路径可深入嵌套结构;数组会遍历每个元素。对于冗长的API,这是缩小上下文范围的关键:
--selectbashgoogle-ads-pp-cli customers_google_ads search mock-value --agent --select id,name,status -
可预览 —参数显示请求内容但不发送
--dry-run -
离线友好 — 同步/搜索命令在本地SQLite存储可用时可使用该存储
-
非交互式 — 从不提示,所有输入均通过标志参数提供
-
显式重试 — 仅当已存在的创建操作应视为成功时使用参数,仅当缺失的删除目标应视为成功时使用
--idempotent参数--ignore-missing
Response envelope
响应信封
Commands that read from the local store or the API wrap output in a provenance envelope:
json
{
"meta": {"source": "live" | "local", "synced_at": "...", "reason": "..."},
"results": <data>
}Parse for data and to know whether it's live or local. A human-readable summary is printed to stderr only when stdout is a terminal — piped/agent consumers get pure JSON on stdout.
.results.meta.sourceN results (live)从本地存储或API读取数据的命令会将输出包装在来源信封中:
json
{
"meta": {"source": "live" | "local", "synced_at": "...", "reason": "..."},
"results": <data>
}解析获取数据,通过了解数据是实时的还是本地的。仅当标准输出为终端时,才会在标准错误中打印人类可读的摘要——管道/代理消费者仅会在标准输出中获取纯JSON数据。
.results.meta.sourceN results (live)Agent Feedback
代理反馈
When you (or the agent) notice something off about this CLI, record it:
google-ads-pp-cli feedback "the --since flag is inclusive but docs say exclusive"
google-ads-pp-cli feedback --stdin < notes.txt
google-ads-pp-cli feedback list --json --limit 10Entries are stored locally at . They are never POSTed unless is set AND either is passed or . Default behavior is local-only.
~/.google-ads-pp-cli/feedback.jsonlGOOGLE_ADS_FEEDBACK_ENDPOINT--sendGOOGLE_ADS_FEEDBACK_AUTO_SEND=trueWrite what surprised you, not a bug report. Short, specific, one line: that is the part that compounds.
当您(或代理)发现此CLI存在问题时,请记录反馈:
google-ads-pp-cli feedback "--since参数是包含性的,但文档说是排他性的"
google-ads-pp-cli feedback --stdin < notes.txt
google-ads-pp-cli feedback list --json --limit 10反馈条目存储在本地文件中。除非设置了且传递了参数或设置了,否则不会自动发送。默认行为仅存储在本地。
~/.google-ads-pp-cli/feedback.jsonlGOOGLE_ADS_FEEDBACK_ENDPOINT--sendGOOGLE_ADS_FEEDBACK_AUTO_SEND=true请写下让您感到意外的内容,而不是正式的错误报告。简短、具体、单行描述:这样的反馈更有价值。
Output Delivery
输出交付
Every command accepts . The output goes to the named sink in addition to (or instead of) stdout, so agents can route command results without hand-piping. Three sinks are supported:
--deliver <sink>| Sink | Effect |
|---|---|
| Default; write to stdout only |
| Atomically write output to |
| POST the output body to the URL ( |
Unknown schemes are refused with a structured error naming the supported set. Webhook failures return non-zero and log the URL + HTTP status on stderr.
每个命令都支持参数。输出会除了(或代替)标准输出外,发送到指定的接收器,以便代理无需手动管道即可路由命令结果。支持三种接收器:
--deliver <sink>| 接收器 | 效果 |
|---|---|
| 默认值;仅输出到标准输出 |
| 原子性地将输出写入 |
| 将输出主体POST到指定URL(当使用 |
未知的协议会被拒绝,并返回结构化错误,列出支持的接收器类型。Webhook失败时会返回非零退出码,并在标准错误中记录URL和HTTP状态。
Named Profiles
命名配置文件
A profile is a saved set of flag values, reused across invocations. Use it when a scheduled agent calls the same command every run with the same configuration - HeyGen's "Beacon" pattern.
google-ads-pp-cli profile save briefing --json
google-ads-pp-cli --profile briefing customers_google_ads search mock-value
google-ads-pp-cli profile list --json
google-ads-pp-cli profile show briefing
google-ads-pp-cli profile delete briefing --yesExplicit flags always win over profile values; profile values win over defaults. lists all available profiles under so introspecting agents discover them at runtime.
agent-contextavailable_profiles配置文件是一组保存的标志值,可在多次调用中重复使用。当调度代理每次运行都使用相同配置调用同一命令时,可使用此功能——即HeyGen的“Beacon”模式。
google-ads-pp-cli profile save briefing --json
google-ads-pp-cli --profile briefing customers_google_ads search mock-value
google-ads-pp-cli profile list --json
google-ads-pp-cli profile show briefing
google-ads-pp-cli profile delete briefing --yes显式标志始终优先于配置文件值;配置文件值优先于默认值。命令会在下列出所有可用配置文件,以便内省代理在运行时发现它们。
agent-contextavailable_profilesAsync Jobs
异步作业
For endpoints that submit long-running work, the generator detects the submit-then-poll pattern (a // field in the response plus a sibling status endpoint) and wires up three extra flags on the submitting command:
job_idtask_idoperation_id| Flag | Purpose |
|---|---|
| Block until the job reaches a terminal status instead of returning the job ID immediately |
| Maximum wait duration (default 10m, 0 means no timeout) |
| Initial poll interval (default 2s; grows with exponential backoff up to 30s) |
Use async submission without when you want to fire-and-forget; use when you want one command to return the finished artifact.
--wait--wait对于提交长时间运行任务的端点,生成器会检测提交-轮询模式(响应中包含//字段以及对应的状态端点),并在提交命令上添加三个额外标志:
job_idtask_idoperation_id| 标志 | 用途 |
|---|---|
| 阻塞直到作业达到终端状态,而不是立即返回作业ID |
| 最大等待时长(默认10分钟,0表示无超时) |
| 初始轮询间隔(默认2秒;随指数退避增长至最多30秒) |
当您想触发后即无需关注时,使用不带的异步提交;当您希望一个命令返回最终结果时,使用。
--wait--waitExit Codes
退出码
| Code | Meaning |
|---|---|
| 0 | Success |
| 2 | Usage error (wrong arguments) |
| 3 | Resource not found |
| 4 | Authentication required |
| 5 | API error (upstream issue) |
| 7 | Rate limited (wait and retry) |
| 10 | Config error |
| 代码 | 含义 |
|---|---|
| 0 | 成功 |
| 2 | 使用错误(参数错误) |
| 3 | 资源未找到 |
| 4 | 需要身份验证 |
| 5 | API错误(上游问题) |
| 7 | 速率限制(请等待并重试) |
| 10 | 配置错误 |
Argument Parsing
参数解析
Parse :
$ARGUMENTS- Empty, , or
help→ show--helpoutputgoogle-ads-pp-cli --help - Starts with → ends with
install→ MCP installation; otherwise → CLI installationmcp - Anything else → Direct Use (execute as CLI command with )
--agent
解析的逻辑:
$ARGUMENTS- 为空、或
help→ 显示--help输出google-ads-pp-cli --help - 以开头 → 以
install结尾 → MCP安装;否则 → CLI安装mcp - 其他情况 → 直接使用(以标志执行CLI命令)
--agent
CLI Installation
CLI安装
- Check Go is installed: (requires Go 1.26.3 or newer)
go version - Install:
bash
go install github.com/mvanhorn/printing-press-library/library/marketing/google-ads/cmd/google-ads-pp-cli@latest - Verify:
google-ads-pp-cli --version - Ensure (or
$GOPATH/bin) is on$HOME/go/bin.$PATH
- 检查Go是否安装:(需要Go 1.26.3或更高版本)
go version - 安装:
bash
go install github.com/mvanhorn/printing-press-library/library/marketing/google-ads/cmd/google-ads-pp-cli@latest - 验证:
google-ads-pp-cli --version - 确保(或
$GOPATH/bin)在$HOME/go/bin环境变量中。$PATH
MCP Server Installation
MCP服务器安装
- Install the MCP server:
bash
go install github.com/mvanhorn/printing-press-library/library/marketing/google-ads/cmd/google-ads-pp-mcp@latest - Register with Claude Code:
bash
claude mcp add google-ads-pp-mcp -- google-ads-pp-mcp - Verify:
claude mcp list
- 安装MCP服务器:
bash
go install github.com/mvanhorn/printing-press-library/library/marketing/google-ads/cmd/google-ads-pp-mcp@latest - 在Claude Code中注册:
bash
claude mcp add google-ads-pp-mcp -- google-ads-pp-mcp - 验证:
claude mcp list
Direct Use
直接使用
- Check if installed: If not found, offer to install (see CLI Installation above).
which google-ads-pp-cli - Match the user query to the best command from the Unique Capabilities and Command Reference above.
- Execute with the flag:
--agentbashgoogle-ads-pp-cli <command> [subcommand] [args] --agent - If ambiguous, drill into subcommand help: .
google-ads-pp-cli <command> --help
- 检查是否已安装:如果未找到,提供安装选项(请参阅上述CLI安装步骤)。
which google-ads-pp-cli - 将用户查询与上述独特功能和命令参考中最匹配的命令进行匹配。
- 使用标志执行:
--agentbashgoogle-ads-pp-cli <command> [subcommand] [args] --agent - 如果存在歧义,查看子命令帮助:。
google-ads-pp-cli <command> --help