Class: Google::Apis::Searchads360V23::SA360Service

Inherits:
Core::BaseService
  • Object
show all
Defined in:
lib/google/apis/searchads360_v23/service.rb

Overview

Search Ads 360 Reporting API

The Search Ads 360 API allows developers to automate downloading reports from Search Ads 360.

Examples:

require 'google/apis/searchads360_v23'

Searchads360 = Google::Apis::Searchads360V23 # Alias the module
service = Searchads360::SA360Service.new

See Also:

Constant Summary collapse

DEFAULT_ENDPOINT_TEMPLATE =
"https://searchads360.$UNIVERSE_DOMAIN$/"

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSA360Service

Returns a new instance of SA360Service.



48
49
50
51
52
53
# File 'lib/google/apis/searchads360_v23/service.rb', line 48

def initialize
  super(DEFAULT_ENDPOINT_TEMPLATE, '',
        client_name: 'google-apis-searchads360_v23',
        client_version: Google::Apis::Searchads360V23::GEM_VERSION)
  @batch_path = 'batch'
end

Instance Attribute Details

#keyString

Returns API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

Returns:

  • (String)

    API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.



41
42
43
# File 'lib/google/apis/searchads360_v23/service.rb', line 41

def key
  @key
end

#quota_userString

Returns Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

Returns:

  • (String)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.



46
47
48
# File 'lib/google/apis/searchads360_v23/service.rb', line 46

def quota_user
  @quota_user
end

Instance Method Details

#add_customer_batch_job_operations(resource_name, google_ads_searchads360_v23_services__add_batch_job_operations_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesAddBatchJobOperationsResponse

Parameters:

  • resource_name (String)

    Required. The resource name of the batch job.

  • google_ads_searchads360_v23_services__add_batch_job_operations_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesAddBatchJobOperationsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
# File 'lib/google/apis/searchads360_v23/service.rb', line 2095

def add_customer_batch_job_operations(resource_name, google_ads_searchads360_v23_services__add_batch_job_operations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/{+resourceName}:addOperations', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesAddBatchJobOperationsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__add_batch_job_operations_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesAddBatchJobOperationsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesAddBatchJobOperationsResponse
  command.params['resourceName'] = resource_name unless resource_name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#add_customer_offline_user_data_job_operations(resource_name, google_ads_searchads360_v23_services__add_offline_user_data_job_operations_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesAddOfflineUserDataJobOperationsResponse

Parameters:

  • resource_name (String)

    Required. The resource name of the OfflineUserDataJob.

  • google_ads_searchads360_v23_services__add_offline_user_data_job_operations_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesAddOfflineUserDataJobOperationsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
# File 'lib/google/apis/searchads360_v23/service.rb', line 4580

def add_customer_offline_user_data_job_operations(resource_name, google_ads_searchads360_v23_services__add_offline_user_data_job_operations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/{+resourceName}:addOperations', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesAddOfflineUserDataJobOperationsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__add_offline_user_data_job_operations_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesAddOfflineUserDataJobOperationsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesAddOfflineUserDataJobOperationsResponse
  command.params['resourceName'] = resource_name unless resource_name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#append_customer_local_service_lead_conversation(customer_id, google_ads_searchads360_v23_services__append_lead_conversation_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesAppendLeadConversationResponse

RPC to append Local Services Lead Conversation resources to Local Services Lead resources.

Parameters:

  • customer_id (String)

    Required. The Id of the customer which owns the leads onto which the conversations will be appended.

  • google_ads_searchads360_v23_services__append_lead_conversation_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesAppendLeadConversationRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
# File 'lib/google/apis/searchads360_v23/service.rb', line 4510

def append_customer_local_service_lead_conversation(customer_id, google_ads_searchads360_v23_services__append_lead_conversation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/localServices:appendLeadConversation', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesAppendLeadConversationRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__append_lead_conversation_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesAppendLeadConversationResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesAppendLeadConversationResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#apply_customer_incentive_incentive(customer_id, selected_incentive_id, google_ads_searchads360_v23_services__apply_incentive_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesApplyIncentiveResponse

Applies the incentive for the ads customer.

Parameters:

  • customer_id (String)

    The customer ID of the account that the incentive is being applied to.

  • selected_incentive_id (Fixnum)

    The incentive ID of this incentive. This is used to identify which incentive is selected by the user in the CYO flow.

  • google_ads_searchads360_v23_services__apply_incentive_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesApplyIncentiveRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
# File 'lib/google/apis/searchads360_v23/service.rb', line 4194

def apply_customer_incentive_incentive(customer_id, selected_incentive_id, google_ads_searchads360_v23_services__apply_incentive_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/incentives/{+selectedIncentiveId}:applyIncentive', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesApplyIncentiveRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__apply_incentive_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesApplyIncentiveResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesApplyIncentiveResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.params['selectedIncentiveId'] = selected_incentive_id unless selected_incentive_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#apply_customer_recommendation(customer_id, google_ads_searchads360_v23_services__apply_recommendation_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesApplyRecommendationResponse

Applies given recommendations with corresponding apply parameters. List of thrown errors: AuthenticationError AuthorizationError DatabaseError FieldError HeaderError InternalError MutateError QuotaError RecommendationError RequestError UrlFieldError

Parameters:

  • customer_id (String)

    Required. The ID of the customer with the recommendation.

  • google_ads_searchads360_v23_services__apply_recommendation_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesApplyRecommendationRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
# File 'lib/google/apis/searchads360_v23/service.rb', line 4929

def apply_customer_recommendation(customer_id, google_ads_searchads360_v23_services__apply_recommendation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/recommendations:apply', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesApplyRecommendationRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__apply_recommendation_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesApplyRecommendationResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesApplyRecommendationResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#configure_customer_campaign_lifecycle_goal_campaign_lifecycle_goals(customer_id, google_ads_searchads360_v23_services__configure_campaign_lifecycle_goals_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesConfigureCampaignLifecycleGoalsResponse

Process the given campaign lifecycle configurations. List of thrown errors: AuthenticationError AuthorizationError CampaignLifecycleGoalConfigError HeaderError InternalError QuotaError RequestError

Parameters:

  • customer_id (String)

    Required. The ID of the customer performing the upload.

  • google_ads_searchads360_v23_services__configure_campaign_lifecycle_goals_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesConfigureCampaignLifecycleGoalsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
# File 'lib/google/apis/searchads360_v23/service.rb', line 2841

def configure_customer_campaign_lifecycle_goal_campaign_lifecycle_goals(customer_id, google_ads_searchads360_v23_services__configure_campaign_lifecycle_goals_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/campaignLifecycleGoal:configureCampaignLifecycleGoals', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesConfigureCampaignLifecycleGoalsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__configure_campaign_lifecycle_goals_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesConfigureCampaignLifecycleGoalsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesConfigureCampaignLifecycleGoalsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#configure_customer_customer_lifecycle_goal_customer_lifecycle_goals(customer_id, google_ads_searchads360_v23_services__configure_customer_lifecycle_goals_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesConfigureCustomerLifecycleGoalsResponse

Process the given customer lifecycle configurations. List of thrown errors: AuthenticationError AuthorizationError CustomerLifecycleGoalConfigError HeaderError InternalError QuotaError RequestError

Parameters:

  • customer_id (String)

    Required. The ID of the customer performing the upload.

  • google_ads_searchads360_v23_services__configure_customer_lifecycle_goals_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesConfigureCustomerLifecycleGoalsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
# File 'lib/google/apis/searchads360_v23/service.rb', line 3523

def configure_customer_customer_lifecycle_goal_customer_lifecycle_goals(customer_id, google_ads_searchads360_v23_services__configure_customer_lifecycle_goals_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/customerLifecycleGoal:configureCustomerLifecycleGoals', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesConfigureCustomerLifecycleGoalsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__configure_customer_lifecycle_goals_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesConfigureCustomerLifecycleGoalsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesConfigureCustomerLifecycleGoalsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

Parameters:

  • customer_id (String)

    Required. The ID of the customer for which the account link is created.

  • google_ads_searchads360_v23_services__create_account_link_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesCreateAccountLinkRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
# File 'lib/google/apis/searchads360_v23/service.rb', line 1246

def (customer_id,  = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/accountLinks:create', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesCreateAccountLinkRequest::Representation
  command.request_object = 
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesCreateAccountLinkResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesCreateAccountLinkResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#create_customer_customer_client(customer_id, google_ads_searchads360_v23_services__create_customer_client_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesCreateCustomerClientResponse

Parameters:

  • customer_id (String)

    Required. The ID of the Manager under whom client customer is being created.

  • google_ads_searchads360_v23_services__create_customer_client_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesCreateCustomerClientRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



112
113
114
115
116
117
118
119
120
121
122
# File 'lib/google/apis/searchads360_v23/service.rb', line 112

def create_customer_customer_client(customer_id, google_ads_searchads360_v23_services__create_customer_client_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}:createCustomerClient', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesCreateCustomerClientRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__create_customer_client_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesCreateCustomerClientResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesCreateCustomerClientResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

Creates a data link. The requesting Google Ads account name and account ID will be shared with the third party (such as YouTube creators for video links) to whom you are creating the link with. Only customers on the allow-list can create data links. List of thrown errors: AuthenticationError AuthorizationError DatabaseError DataLinkError FieldError HeaderError InternalError MutateError QuotaError RequestError

Parameters:

  • customer_id (String)

    Required. The ID of the customer for which the data link is created.

  • google_ads_searchads360_v23_services__create_data_link_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesCreateDataLinkRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
# File 'lib/google/apis/searchads360_v23/service.rb', line 3816

def create_customer_data_link(customer_id, google_ads_searchads360_v23_services__create_data_link_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/dataLinks:create', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesCreateDataLinkRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__create_data_link_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesCreateDataLinkResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesCreateDataLinkResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#create_customer_offline_user_data_job(customer_id, google_ads_searchads360_v23_services__create_offline_user_data_job_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesCreateOfflineUserDataJobResponse

Parameters:

  • customer_id (String)

    Required. The ID of the customer for which to create an offline user data job.

  • google_ads_searchads360_v23_services__create_offline_user_data_job_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesCreateOfflineUserDataJobRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
# File 'lib/google/apis/searchads360_v23/service.rb', line 4616

def create_customer_offline_user_data_job(customer_id, google_ads_searchads360_v23_services__create_offline_user_data_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/offlineUserDataJobs:create', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesCreateOfflineUserDataJobRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__create_offline_user_data_job_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesCreateOfflineUserDataJobResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesCreateOfflineUserDataJobResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

Parameters:

  • customer_id (String)

    Required. The ID of the customer for which the product link is created.

  • google_ads_searchads360_v23_services__create_product_link_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesCreateProductLinkRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
# File 'lib/google/apis/searchads360_v23/service.rb', line 4821

def create_customer_product_link(customer_id, google_ads_searchads360_v23_services__create_product_link_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/productLinks:create', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesCreateProductLinkRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__create_product_link_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesCreateProductLinkResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesCreateProductLinkResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

Creates a product link invitation.

Parameters:

  • customer_id (String)

    Required. The ID of the customer being modified.

  • google_ads_searchads360_v23_services__create_product_link_invitation_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesCreateProductLinkInvitationRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
# File 'lib/google/apis/searchads360_v23/service.rb', line 4720

def create_customer_product_link_invitation(customer_id, google_ads_searchads360_v23_services__create_product_link_invitation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/productLinkInvitations:create', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesCreateProductLinkInvitationRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__create_product_link_invitation_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesCreateProductLinkInvitationResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesCreateProductLinkInvitationResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#dismiss_customer_recommendation(customer_id, google_ads_searchads360_v23_services__dismiss_recommendation_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesDismissRecommendationResponse

Parameters:

  • customer_id (String)

    Required. The ID of the customer with the recommendation.

  • google_ads_searchads360_v23_services__dismiss_recommendation_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesDismissRecommendationRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
# File 'lib/google/apis/searchads360_v23/service.rb', line 4964

def dismiss_customer_recommendation(customer_id, google_ads_searchads360_v23_services__dismiss_recommendation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/recommendations:dismiss', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesDismissRecommendationRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__dismiss_recommendation_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesDismissRecommendationResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesDismissRecommendationResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#enable_customer_campaign_p_max_brand_guidelines(customer_id, google_ads_searchads360_v23_services__enable_p_max_brand_guidelines_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesEnablePMaxBrandGuidelinesResponse

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose campaigns are being enabled.

  • google_ads_searchads360_v23_services__enable_p_max_brand_guidelines_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesEnablePMaxBrandGuidelinesRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
# File 'lib/google/apis/searchads360_v23/service.rb', line 2917

def enable_customer_campaign_p_max_brand_guidelines(customer_id, google_ads_searchads360_v23_services__enable_p_max_brand_guidelines_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/campaigns:enablePMaxBrandGuidelines', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesEnablePMaxBrandGuidelinesRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__enable_p_max_brand_guidelines_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesEnablePMaxBrandGuidelinesResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesEnablePMaxBrandGuidelinesResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#end_customer_experiment_experiment(experiment, google_ads_searchads360_v23_services__end_experiment_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleProtobufEmpty

Immediately ends an experiment, changing the experiment's scheduled end date and without waiting for end of day. End date is updated to be the time of the request. List of thrown errors: AuthenticationError AuthorizationError ExperimentError HeaderError InternalError QuotaError RequestError

Parameters:

  • experiment (String)

    Required. The resource name of the campaign experiment to end.

  • google_ads_searchads360_v23_services__end_experiment_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesEndExperimentRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
# File 'lib/google/apis/searchads360_v23/service.rb', line 3961

def end_customer_experiment_experiment(experiment, google_ads_searchads360_v23_services__end_experiment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/{+experiment}:endExperiment', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesEndExperimentRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__end_experiment_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleProtobufEmpty::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleProtobufEmpty
  command.params['experiment'] = experiment unless experiment.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#fetch_incentive_incentive(country_code: nil, email: nil, language_code: nil, type: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesFetchIncentiveResponse

Returns incentives for a given user.

Parameters:

  • country_code (String) (defaults to: nil)

    Optional. User's country code. If not provided, the server will default to "US" . Possible country codes: https://developers.google.com/google-ads/api/data/ codes-formats#country_codes

  • email (String) (defaults to: nil)

    Optional. Email of the user that the requested incentive is meant for. Will be used for channel partners who do NOT use OAuth to authenticate on behalf of user.

  • language_code (String) (defaults to: nil)

    Optional. User's language code. If not provided, the server will default to " en". Possible language codes: https://developers.google.com/google-ads/api/ data/codes-formats#languages

  • type (String) (defaults to: nil)

    Optional. The type of incentive to get. Defaults to ACQUISITION.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
# File 'lib/google/apis/searchads360_v23/service.rb', line 5515

def fetch_incentive_incentive(country_code: nil, email: nil, language_code: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v23/incentives:fetchIncentive', options)
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesFetchIncentiveResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesFetchIncentiveResponse
  command.query['countryCode'] = country_code unless country_code.nil?
  command.query['email'] = email unless email.nil?
  command.query['languageCode'] = language_code unless language_code.nil?
  command.query['type'] = type unless type.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#generate_conversion_rates(google_ads_searchads360_v23_services__generate_conversion_rates_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateConversionRatesResponse

Returns a collection of conversion rate suggestions for supported plannable products. List of thrown errors: AuthenticationError AuthorizationError HeaderError InternalError QuotaError RequestError

Parameters:

  • google_ads_searchads360_v23_services__generate_conversion_rates_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateConversionRatesRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
# File 'lib/google/apis/searchads360_v23/service.rb', line 5646

def generate_conversion_rates(google_ads_searchads360_v23_services__generate_conversion_rates_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23:generateConversionRates', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateConversionRatesRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__generate_conversion_rates_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateConversionRatesResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateConversionRatesResponse
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#generate_customer_ad_group_themes(customer_id, google_ads_searchads360_v23_services__generate_ad_group_themes_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateAdGroupThemesResponse

Returns a list of suggested AdGroups and suggested modifications (text, match type) for the given keywords. List of thrown errors: AuthenticationError AuthorizationError CollectionSizeError HeaderError InternalError QuotaError RequestError

Parameters:

  • customer_id (String)

    Required. The ID of the customer.

  • google_ads_searchads360_v23_services__generate_ad_group_themes_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateAdGroupThemesRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



148
149
150
151
152
153
154
155
156
157
158
# File 'lib/google/apis/searchads360_v23/service.rb', line 148

def generate_customer_ad_group_themes(customer_id, google_ads_searchads360_v23_services__generate_ad_group_themes_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}:generateAdGroupThemes', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateAdGroupThemesRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__generate_ad_group_themes_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateAdGroupThemesResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateAdGroupThemesResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#generate_customer_audience_composition_insights(customer_id, google_ads_searchads360_v23_services__generate_audience_composition_insights_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateAudienceCompositionInsightsResponse

Returns a collection of attributes that are represented in an audience of interest, with metrics that compare each attribute's share of the audience with its share of a baseline audience. List of thrown errors: AudienceInsightsError AuthenticationError AuthorizationError FieldError HeaderError InternalError QuotaError RangeError RequestError

Parameters:

  • customer_id (String)

    Required. The ID of the customer.

  • google_ads_searchads360_v23_services__generate_audience_composition_insights_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateAudienceCompositionInsightsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



186
187
188
189
190
191
192
193
194
195
196
# File 'lib/google/apis/searchads360_v23/service.rb', line 186

def generate_customer_audience_composition_insights(customer_id, google_ads_searchads360_v23_services__generate_audience_composition_insights_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}:generateAudienceCompositionInsights', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateAudienceCompositionInsightsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__generate_audience_composition_insights_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateAudienceCompositionInsightsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateAudienceCompositionInsightsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#generate_customer_audience_definition(customer_id, google_ads_searchads360_v23_services__generate_audience_definition_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateAudienceDefinitionResponse

Returns a collection of audience attributes using generative AI based on the provided audience description. List of thrown errors: AudienceInsightsError AuthenticationError AuthorizationError FieldError HeaderError InternalError QuotaError RequestError

Parameters:

  • customer_id (String)

    Required. The ID of the customer.

  • google_ads_searchads360_v23_services__generate_audience_definition_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateAudienceDefinitionRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



222
223
224
225
226
227
228
229
230
231
232
# File 'lib/google/apis/searchads360_v23/service.rb', line 222

def generate_customer_audience_definition(customer_id, google_ads_searchads360_v23_services__generate_audience_definition_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}:generateAudienceDefinition', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateAudienceDefinitionRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__generate_audience_definition_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateAudienceDefinitionResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateAudienceDefinitionResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#generate_customer_audience_overlap_insights(customer_id, google_ads_searchads360_v23_services__generate_audience_overlap_insights_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateAudienceOverlapInsightsResponse

Returns a collection of audience attributes along with estimates of the overlap between their potential YouTube reach and that of a given input attribute. List of thrown errors: AudienceInsightsError AuthenticationError AuthorizationError FieldError HeaderError InternalError QuotaError RangeError RequestError

Parameters:

  • customer_id (String)

    Required. The ID of the customer.

  • google_ads_searchads360_v23_services__generate_audience_overlap_insights_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateAudienceOverlapInsightsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



259
260
261
262
263
264
265
266
267
268
269
# File 'lib/google/apis/searchads360_v23/service.rb', line 259

def generate_customer_audience_overlap_insights(customer_id, google_ads_searchads360_v23_services__generate_audience_overlap_insights_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}:generateAudienceOverlapInsights', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateAudienceOverlapInsightsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__generate_audience_overlap_insights_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateAudienceOverlapInsightsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateAudienceOverlapInsightsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#generate_customer_benchmarks_metrics(customer_id, google_ads_searchads360_v23_services__generate_benchmarks_metrics_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateBenchmarksMetricsResponse

Returns YouTube advertisement metrics for the given client against industry benchmarks. List of thrown errors: AuthenticationError AuthorizationError BenchmarksError FieldError HeaderError InternalError QuotaError RangeError RequestError

Parameters:

  • customer_id (String)

    Required. The ID of the customer. Supply a client customer ID to generate metrics for the customer. A manager account customer ID will not return customer metrics since it does not have any associated direct ad campaigns.

  • google_ads_searchads360_v23_services__generate_benchmarks_metrics_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateBenchmarksMetricsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



297
298
299
300
301
302
303
304
305
306
307
# File 'lib/google/apis/searchads360_v23/service.rb', line 297

def generate_customer_benchmarks_metrics(customer_id, google_ads_searchads360_v23_services__generate_benchmarks_metrics_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}:generateBenchmarksMetrics', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateBenchmarksMetricsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__generate_benchmarks_metrics_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateBenchmarksMetricsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateBenchmarksMetricsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#generate_customer_insights_finder_report(customer_id, google_ads_searchads360_v23_services__generate_insights_finder_report_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateInsightsFinderReportResponse

Creates a saved report that can be viewed in the Insights Finder tool. List of thrown errors: AuthenticationError AuthorizationError FieldError HeaderError InternalError QuotaError RangeError RequestError

Parameters:

  • customer_id (String)

    Required. The ID of the customer.

  • google_ads_searchads360_v23_services__generate_insights_finder_report_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateInsightsFinderReportRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



332
333
334
335
336
337
338
339
340
341
342
# File 'lib/google/apis/searchads360_v23/service.rb', line 332

def generate_customer_insights_finder_report(customer_id, google_ads_searchads360_v23_services__generate_insights_finder_report_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}:generateInsightsFinderReport', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateInsightsFinderReportRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__generate_insights_finder_report_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateInsightsFinderReportResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateInsightsFinderReportResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#generate_customer_keyword_forecast_metrics(customer_id, google_ads_searchads360_v23_services__generate_keyword_forecast_metrics_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateKeywordForecastMetricsResponse

Returns metrics (such as impressions, clicks, total cost) of a keyword forecast for the given campaign. List of thrown errors: AuthenticationError AuthorizationError CollectionSizeError HeaderError InternalError QuotaError RequestError

Parameters:

  • customer_id (String)

    The ID of the customer.

  • google_ads_searchads360_v23_services__generate_keyword_forecast_metrics_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateKeywordForecastMetricsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



368
369
370
371
372
373
374
375
376
377
378
# File 'lib/google/apis/searchads360_v23/service.rb', line 368

def generate_customer_keyword_forecast_metrics(customer_id, google_ads_searchads360_v23_services__generate_keyword_forecast_metrics_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}:generateKeywordForecastMetrics', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateKeywordForecastMetricsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__generate_keyword_forecast_metrics_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateKeywordForecastMetricsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateKeywordForecastMetricsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#generate_customer_keyword_historical_metrics(customer_id, google_ads_searchads360_v23_services__generate_keyword_historical_metrics_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsResponse

Returns a list of keyword historical metrics. List of thrown errors: AuthenticationError AuthorizationError CollectionSizeError HeaderError InternalError QuotaError RequestError

Parameters:

  • customer_id (String)

    The ID of the customer with the recommendation.

  • google_ads_searchads360_v23_services__generate_keyword_historical_metrics_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



403
404
405
406
407
408
409
410
411
412
413
# File 'lib/google/apis/searchads360_v23/service.rb', line 403

def generate_customer_keyword_historical_metrics(customer_id, google_ads_searchads360_v23_services__generate_keyword_historical_metrics_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}:generateKeywordHistoricalMetrics', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__generate_keyword_historical_metrics_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#generate_customer_keyword_ideas(customer_id, google_ads_searchads360_v23_services__generate_keyword_ideas_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateKeywordIdeaResponse

Parameters:

  • customer_id (String)

    The ID of the customer with the recommendation.

  • google_ads_searchads360_v23_services__generate_keyword_ideas_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateKeywordIdeasRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



438
439
440
441
442
443
444
445
446
447
448
# File 'lib/google/apis/searchads360_v23/service.rb', line 438

def generate_customer_keyword_ideas(customer_id, google_ads_searchads360_v23_services__generate_keyword_ideas_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}:generateKeywordIdeas', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateKeywordIdeasRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__generate_keyword_ideas_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateKeywordIdeaResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateKeywordIdeaResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#generate_customer_reach_forecast(customer_id, google_ads_searchads360_v23_services__generate_reach_forecast_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateReachForecastResponse

Generates a reach forecast for a given targeting / product mix. List of thrown errors: AuthenticationError AuthorizationError FieldError HeaderError InternalError QuotaError RangeError ReachPlanError RequestError

Parameters:

  • customer_id (String)

    Required. The ID of the customer.

  • google_ads_searchads360_v23_services__generate_reach_forecast_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateReachForecastRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



474
475
476
477
478
479
480
481
482
483
484
# File 'lib/google/apis/searchads360_v23/service.rb', line 474

def generate_customer_reach_forecast(customer_id, google_ads_searchads360_v23_services__generate_reach_forecast_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}:generateReachForecast', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateReachForecastRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__generate_reach_forecast_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateReachForecastResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateReachForecastResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#generate_customer_recommendation(customer_id, google_ads_searchads360_v23_services__generate_recommendations_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateRecommendationsResponse

Generates Recommendations based off the requested recommendation_types. List of thrown errors: AuthenticationError AuthorizationError HeaderError InternalError QuotaError RecommendationError RequestError

Parameters:

  • customer_id (String)

    Required. The ID of the customer generating recommendations.

  • google_ads_searchads360_v23_services__generate_recommendations_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
# File 'lib/google/apis/searchads360_v23/service.rb', line 4999

def generate_customer_recommendation(customer_id, google_ads_searchads360_v23_services__generate_recommendations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/recommendations:generate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__generate_recommendations_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateRecommendationsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateRecommendationsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#generate_customer_suggested_targeting_insights(customer_id, google_ads_searchads360_v23_services__generate_suggested_targeting_insights_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateSuggestedTargetingInsightsResponse

Returns a collection of targeting insights (e.g. targetable audiences) that are relevant to the requested audience. List of thrown errors: AudienceInsightsError AuthenticationError AuthorizationError FieldError HeaderError InternalError QuotaError RangeError RequestError

Parameters:

  • customer_id (String)

    Required. The ID of the customer.

  • google_ads_searchads360_v23_services__generate_suggested_targeting_insights_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateSuggestedTargetingInsightsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



511
512
513
514
515
516
517
518
519
520
521
# File 'lib/google/apis/searchads360_v23/service.rb', line 511

def generate_customer_suggested_targeting_insights(customer_id, google_ads_searchads360_v23_services__generate_suggested_targeting_insights_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}:generateSuggestedTargetingInsights', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateSuggestedTargetingInsightsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__generate_suggested_targeting_insights_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateSuggestedTargetingInsightsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateSuggestedTargetingInsightsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#generate_customer_targeting_suggestion_metrics(customer_id, google_ads_searchads360_v23_services__generate_targeting_suggestion_metrics_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateTargetingSuggestionMetricsResponse

Returns potential reach metrics for targetable audiences. This method helps answer questions like "How many Men aged 18+ interested in Camping can be reached on YouTube?" List of thrown errors: AudienceInsightsError AuthenticationError AuthorizationError FieldError HeaderError InternalError QuotaError RangeError RequestError

Parameters:

  • customer_id (String)

    Required. The ID of the customer.

  • google_ads_searchads360_v23_services__generate_targeting_suggestion_metrics_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateTargetingSuggestionMetricsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



548
549
550
551
552
553
554
555
556
557
558
# File 'lib/google/apis/searchads360_v23/service.rb', line 548

def generate_customer_targeting_suggestion_metrics(customer_id, google_ads_searchads360_v23_services__generate_targeting_suggestion_metrics_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}:generateTargetingSuggestionMetrics', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateTargetingSuggestionMetricsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__generate_targeting_suggestion_metrics_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateTargetingSuggestionMetricsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateTargetingSuggestionMetricsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#get_customer_custom_column(resource_name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCustomColumn

Returns the requested custom column in full detail.

Parameters:

  • resource_name (String)

    Required. The resource name of the custom column to fetch.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3210
3211
3212
3213
3214
3215
3216
3217
3218
# File 'lib/google/apis/searchads360_v23/service.rb', line 3210

def get_customer_custom_column(resource_name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v23/{+resourceName}', options)
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCustomColumn::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCustomColumn
  command.params['resourceName'] = resource_name unless resource_name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#get_customer_identity_verification(customer_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGetIdentityVerificationResponse

Returns Identity Verification information. List of thrown errors: AuthenticationError AuthorizationError HeaderError InternalError QuotaError RequestError

Parameters:

  • customer_id (String)

    Required. The ID of the customer for whom we are requesting verification information.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



583
584
585
586
587
588
589
590
591
# File 'lib/google/apis/searchads360_v23/service.rb', line 583

def get_customer_identity_verification(customer_id, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v23/customers/{+customerId}/getIdentityVerification', options)
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGetIdentityVerificationResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGetIdentityVerificationResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#get_customer_smart_campaign_setting_smart_campaign_status(resource_name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGetSmartCampaignStatusResponse

Returns the status of the requested Smart campaign.

Parameters:

  • resource_name (String)

    Required. The resource name of the Smart campaign setting belonging to the Smart campaign to fetch the status of.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



5294
5295
5296
5297
5298
5299
5300
5301
5302
# File 'lib/google/apis/searchads360_v23/service.rb', line 5294

def get_customer_smart_campaign_setting_smart_campaign_status(resource_name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v23/{+resourceName}:getSmartCampaignStatus', options)
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGetSmartCampaignStatusResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGetSmartCampaignStatusResponse
  command.params['resourceName'] = resource_name unless resource_name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#get_search_ads360_field(resource_name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesSearchAds360Field

Returns just the requested field. List of thrown errors: AuthenticationError AuthorizationError HeaderError InternalError QuotaError RequestError

Parameters:

  • resource_name (String)

    Required. The resource name of the field to get.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



5582
5583
5584
5585
5586
5587
5588
5589
5590
# File 'lib/google/apis/searchads360_v23/service.rb', line 5582

def get_search_ads360_field(resource_name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v23/{+resourceName}', options)
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesSearchAds360Field::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesSearchAds360Field
  command.params['resourceName'] = resource_name unless resource_name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#graduate_customer_experiment_experiment(experiment, google_ads_searchads360_v23_services__graduate_experiment_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleProtobufEmpty

Graduates an experiment to a full campaign. List of thrown errors: AuthenticationError AuthorizationError ExperimentError HeaderError InternalError MutateError QuotaError RequestError

Parameters:

  • experiment (String)

    Required. The experiment to be graduated.

  • google_ads_searchads360_v23_services__graduate_experiment_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGraduateExperimentRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
# File 'lib/google/apis/searchads360_v23/service.rb', line 3996

def graduate_customer_experiment_experiment(experiment, google_ads_searchads360_v23_services__graduate_experiment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/{+experiment}:graduateExperiment', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGraduateExperimentRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__graduate_experiment_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleProtobufEmpty::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleProtobufEmpty
  command.params['experiment'] = experiment unless experiment.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#list_audience_insight_insights_eligible_dates(google_ads_searchads360_v23_services__list_insights_eligible_dates_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListInsightsEligibleDatesResponse

Lists date ranges for which audience insights data can be requested. List of thrown errors: AuthenticationError AuthorizationError FieldError HeaderError InternalError QuotaError RangeError RequestError

Parameters:

  • google_ads_searchads360_v23_services__list_insights_eligible_dates_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListInsightsEligibleDatesRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



76
77
78
79
80
81
82
83
84
85
# File 'lib/google/apis/searchads360_v23/service.rb', line 76

def list_audience_insight_insights_eligible_dates(google_ads_searchads360_v23_services__list_insights_eligible_dates_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/audienceInsights:listInsightsEligibleDates', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListInsightsEligibleDatesRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__list_insights_eligible_dates_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListInsightsEligibleDatesResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListInsightsEligibleDatesResponse
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#list_benchmarks_available_dates(google_ads_searchads360_v23_services__list_benchmarks_available_dates_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListBenchmarksAvailableDatesResponse

Returns a date range that supports benchmarks. List of thrown errors: AuthenticationError AuthorizationError FieldError HeaderError InternalError QuotaError RequestError

Parameters:

  • google_ads_searchads360_v23_services__list_benchmarks_available_dates_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListBenchmarksAvailableDatesRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
# File 'lib/google/apis/searchads360_v23/service.rb', line 5678

def list_benchmarks_available_dates(google_ads_searchads360_v23_services__list_benchmarks_available_dates_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23:listBenchmarksAvailableDates', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListBenchmarksAvailableDatesRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__list_benchmarks_available_dates_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListBenchmarksAvailableDatesResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListBenchmarksAvailableDatesResponse
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#list_benchmarks_locations(google_ads_searchads360_v23_services__list_benchmarks_locations_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListBenchmarksLocationsResponse

Returns the list of locations that support benchmarks (for example, countries). List of thrown errors: AuthenticationError AuthorizationError FieldError HeaderError InternalError QuotaError RequestError

Parameters:

  • google_ads_searchads360_v23_services__list_benchmarks_locations_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListBenchmarksLocationsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
# File 'lib/google/apis/searchads360_v23/service.rb', line 5710

def list_benchmarks_locations(google_ads_searchads360_v23_services__list_benchmarks_locations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23:listBenchmarksLocations', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListBenchmarksLocationsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__list_benchmarks_locations_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListBenchmarksLocationsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListBenchmarksLocationsResponse
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#list_benchmarks_products(google_ads_searchads360_v23_services__list_benchmarks_products_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListBenchmarksProductsResponse

Returns the list of products that supports benchmarks. List of thrown errors: AuthenticationError AuthorizationError FieldError HeaderError InternalError QuotaError RequestError

Parameters:

  • google_ads_searchads360_v23_services__list_benchmarks_products_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListBenchmarksProductsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
# File 'lib/google/apis/searchads360_v23/service.rb', line 5742

def list_benchmarks_products(google_ads_searchads360_v23_services__list_benchmarks_products_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23:listBenchmarksProducts', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListBenchmarksProductsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__list_benchmarks_products_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListBenchmarksProductsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListBenchmarksProductsResponse
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#list_benchmarks_sources(google_ads_searchads360_v23_services__list_benchmarks_sources_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListBenchmarksSourcesResponse

Returns the list of benchmarks sources (for example, Industry Verticals). List of thrown errors: AuthenticationError AuthorizationError FieldError HeaderError InternalError QuotaError RequestError

Parameters:

  • google_ads_searchads360_v23_services__list_benchmarks_sources_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListBenchmarksSourcesRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
# File 'lib/google/apis/searchads360_v23/service.rb', line 5774

def list_benchmarks_sources(google_ads_searchads360_v23_services__list_benchmarks_sources_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23:listBenchmarksSources', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListBenchmarksSourcesRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__list_benchmarks_sources_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListBenchmarksSourcesResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListBenchmarksSourcesResponse
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#list_customer_accessible_customers(fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListAccessibleCustomersResponse

Returns resource names of customers directly accessible by the user authenticating the call. List of thrown errors: AuthenticationError AuthorizationError HeaderError InternalError QuotaError RequestError

Parameters:

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



614
615
616
617
618
619
620
621
# File 'lib/google/apis/searchads360_v23/service.rb', line 614

def list_customer_accessible_customers(fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v23/customers:listAccessibleCustomers', options)
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListAccessibleCustomersResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListAccessibleCustomersResponse
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#list_customer_batch_job_results(resource_name, page_size: nil, page_token: nil, response_content_type: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListBatchJobResultsResponse

Returns the results of the batch job. The job must be done. Supports standard list paging. List of thrown errors: AuthenticationError AuthorizationError BatchJobError HeaderError InternalError QuotaError RequestError

Parameters:

  • resource_name (String)

    Required. The resource name of the batch job whose results are being listed.

  • page_size (Fixnum) (defaults to: nil)
  • page_token (String) (defaults to: nil)

    Token of the page to retrieve. If not specified, the first page of results will be returned. Use the value obtained from next_page_token in the previous response in order to request the next page of results.

  • response_content_type (String) (defaults to: nil)

    The response content type setting. Determines whether the mutable resource or just the resource name should be returned.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
# File 'lib/google/apis/searchads360_v23/service.rb', line 2138

def list_customer_batch_job_results(resource_name, page_size: nil, page_token: nil, response_content_type: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v23/{+resourceName}:listResults', options)
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListBatchJobResultsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListBatchJobResultsResponse
  command.params['resourceName'] = resource_name unless resource_name.nil?
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['responseContentType'] = response_content_type unless response_content_type.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#list_customer_campaign_draft_async_errors(resource_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListCampaignDraftAsyncErrorsResponse

Returns all errors that occurred during CampaignDraft promote. Throws an error if called before campaign draft is promoted. Supports standard list paging. List of thrown errors: AuthenticationError AuthorizationError HeaderError InternalError QuotaError RequestError

Parameters:

  • resource_name (String)

    Required. The name of the campaign draft from which to retrieve the async errors.

  • page_size (Fixnum) (defaults to: nil)

    Number of elements to retrieve in a single page. When a page request is too large, the server may decide to further limit the number of returned resources.

  • page_token (String) (defaults to: nil)

    Token of the page to retrieve. If not specified, the first page of results will be returned. Use the value obtained from next_page_token in the previous response in order to request the next page of results.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
# File 'lib/google/apis/searchads360_v23/service.rb', line 2657

def list_customer_campaign_draft_async_errors(resource_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v23/{+resourceName}:listAsyncErrors', options)
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListCampaignDraftAsyncErrorsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListCampaignDraftAsyncErrorsResponse
  command.params['resourceName'] = resource_name unless resource_name.nil?
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#list_customer_custom_columns(customer_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListCustomColumnsResponse

Returns all the custom columns associated with the customer in full detail.

Parameters:

  • customer_id (String)

    Required. The ID of the customer to apply the CustomColumn list operation to.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3240
3241
3242
3243
3244
3245
3246
3247
3248
# File 'lib/google/apis/searchads360_v23/service.rb', line 3240

def list_customer_custom_columns(customer_id, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v23/customers/{+customerId}/customColumns', options)
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListCustomColumnsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListCustomColumnsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#list_customer_experiment_experiment_async_errors(resource_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListExperimentAsyncErrorsResponse

Returns all errors that occurred during the last Experiment update (either scheduling or promotion). Supports standard list paging. List of thrown errors: AuthenticationError AuthorizationError HeaderError InternalError QuotaError RequestError

Parameters:

  • resource_name (String)

    Required. The name of the experiment from which to retrieve the async errors.

  • page_size (Fixnum) (defaults to: nil)

    Number of elements to retrieve in a single page. When a page request is too large, the server may decide to further limit the number of returned resources. The maximum page size is 1000.

  • page_token (String) (defaults to: nil)

    Token of the page to retrieve. If not specified, the first page of results will be returned. Use the value obtained from next_page_token in the previous response in order to request the next page of results.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
# File 'lib/google/apis/searchads360_v23/service.rb', line 4039

def list_customer_experiment_experiment_async_errors(resource_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v23/{+resourceName}:listExperimentAsyncErrors', options)
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListExperimentAsyncErrorsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListExperimentAsyncErrorsResponse
  command.params['resourceName'] = resource_name unless resource_name.nil?
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#list_customer_invoices(customer_id, billing_setup: nil, include_granular_level_invoice_details: nil, issue_month: nil, issue_year: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListInvoicesResponse

Returns all invoices associated with a billing setup, for a given month. List of thrown errors: AuthenticationError AuthorizationError FieldError HeaderError InternalError InvoiceError QuotaError RequestError

Parameters:

  • customer_id (String)

    Required. The ID of the customer to fetch invoices for.

  • billing_setup (String) (defaults to: nil)

    Required. The billing setup resource name of the requested invoices. customers/customer_id/billingSetups/billing_setup_id``

  • include_granular_level_invoice_details (Boolean) (defaults to: nil)

    Optional. When true, the response will include more granular level invoice details such as campaign level cost breakdown, itemized regulatory costs and adjustments. The default value is false.

  • issue_month (String) (defaults to: nil)

    Required. The issue month to retrieve invoices.

  • issue_year (String) (defaults to: nil)

    Required. The issue year to retrieve invoices, in yyyy format. Only invoices issued in 2019 or later can be retrieved.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
# File 'lib/google/apis/searchads360_v23/service.rb', line 4242

def list_customer_invoices(customer_id, billing_setup: nil, include_granular_level_invoice_details: nil, issue_month: nil, issue_year: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v23/customers/{+customerId}/invoices', options)
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListInvoicesResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListInvoicesResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['billingSetup'] = billing_setup unless billing_setup.nil?
  command.query['includeGranularLevelInvoiceDetails'] = include_granular_level_invoice_details unless include_granular_level_invoice_details.nil?
  command.query['issueMonth'] = issue_month unless issue_month.nil?
  command.query['issueYear'] = issue_year unless issue_year.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#list_customer_payments_accounts(customer_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListPaymentsAccountsResponse

Returns all payments accounts associated with all managers between the login customer ID and specified serving customer in the hierarchy, inclusive. List of thrown errors: AuthenticationError AuthorizationError HeaderError InternalError PaymentsAccountError QuotaError RequestError

Parameters:

  • customer_id (String)

    Required. The ID of the customer to apply the PaymentsAccount list operation to.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4689
4690
4691
4692
4693
4694
4695
4696
4697
# File 'lib/google/apis/searchads360_v23/service.rb', line 4689

def list_customer_payments_accounts(customer_id, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v23/customers/{+customerId}/paymentsAccounts', options)
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListPaymentsAccountsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListPaymentsAccountsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#list_plannable_locations(google_ads_searchads360_v23_services__list_plannable_locations_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListPlannableLocationsResponse

Returns the list of plannable locations (for example, countries). List of thrown errors: AuthenticationError AuthorizationError HeaderError InternalError QuotaError RequestError

Parameters:

  • google_ads_searchads360_v23_services__list_plannable_locations_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListPlannableLocationsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
# File 'lib/google/apis/searchads360_v23/service.rb', line 5806

def list_plannable_locations(google_ads_searchads360_v23_services__list_plannable_locations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23:listPlannableLocations', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListPlannableLocationsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__list_plannable_locations_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListPlannableLocationsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListPlannableLocationsResponse
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#list_plannable_products(google_ads_searchads360_v23_services__list_plannable_products_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListPlannableProductsResponse

Returns the list of per-location plannable YouTube ad formats with allowed targeting. List of thrown errors: AuthenticationError AuthorizationError HeaderError InternalError QuotaError RequestError

Parameters:

  • google_ads_searchads360_v23_services__list_plannable_products_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListPlannableProductsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
# File 'lib/google/apis/searchads360_v23/service.rb', line 5838

def list_plannable_products(google_ads_searchads360_v23_services__list_plannable_products_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23:listPlannableProducts', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListPlannableProductsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__list_plannable_products_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListPlannableProductsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListPlannableProductsResponse
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#list_plannable_user_interests(google_ads_searchads360_v23_services__list_plannable_user_interests_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListPlannableUserInterestsResponse

Returns the list of plannable user interests. A plannable user interest is one that can be targeted in a reach forecast using ReachPlanService. GenerateReachForecast. List of thrown errors: AuthenticationError AuthorizationError FieldError HeaderError InternalError ListOperationError QuotaError RequestError StringLengthError

Parameters:

  • google_ads_searchads360_v23_services__list_plannable_user_interests_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListPlannableUserInterestsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
# File 'lib/google/apis/searchads360_v23/service.rb', line 5872

def list_plannable_user_interests(google_ads_searchads360_v23_services__list_plannable_user_interests_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23:listPlannableUserInterests', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListPlannableUserInterestsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__list_plannable_user_interests_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListPlannableUserInterestsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListPlannableUserInterestsResponse
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#list_plannable_user_lists(google_ads_searchads360_v23_services__list_plannable_user_lists_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListPlannableUserListsResponse

Returns the list of plannable user lists with their plannable status. User lists may not be plannable for a number of reasons, including: - They are less than 10 days old. - They have a membership lifespan that is less than 30 days - They have less than 10,000 or more than 700,000 users. List of thrown errors: AuthenticationError AuthorizationError FieldError HeaderError InternalError QuotaError RangeError ReachPlanError RequestError

Parameters:

  • google_ads_searchads360_v23_services__list_plannable_user_lists_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListPlannableUserListsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
# File 'lib/google/apis/searchads360_v23/service.rb', line 5908

def list_plannable_user_lists(google_ads_searchads360_v23_services__list_plannable_user_lists_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23:listPlannableUserLists', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListPlannableUserListsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__list_plannable_user_lists_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListPlannableUserListsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListPlannableUserListsResponse
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

Moves a client customer to a new manager customer. This simplifies the complex request that requires two operations to move a client customer to a new manager, for example: 1. Update operation with Status INACTIVE (previous manager) and, 2. Update operation with Status ACTIVE (new manager). List of thrown errors: AuthenticationError AuthorizationError DatabaseError FieldError HeaderError InternalError MutateError QuotaError RequestError

Parameters:

  • customer_id (String)

    Required. The ID of the client customer that is being moved.

  • google_ads_searchads360_v23_services__move_manager_link_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMoveManagerLinkRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
# File 'lib/google/apis/searchads360_v23/service.rb', line 3562

def move_customer_customer_manager_link_manager_link(customer_id, google_ads_searchads360_v23_services__move_manager_link_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/customerManagerLinks:moveManagerLink', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMoveManagerLinkRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__move_manager_link_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMoveManagerLinkResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMoveManagerLinkResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer(customer_id, google_ads_searchads360_v23_services__mutate_customer_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerResponse

Parameters:

  • customer_id (String)

    Required. The ID of the customer being modified.

  • google_ads_searchads360_v23_services__mutate_customer_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



647
648
649
650
651
652
653
654
655
656
657
# File 'lib/google/apis/searchads360_v23/service.rb', line 647

def mutate_customer(customer_id, google_ads_searchads360_v23_services__mutate_customer_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_customer_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_account_budget_proposal(customer_id, google_ads_searchads360_v23_services__mutate_account_budget_proposal_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAccountBudgetProposalResponse

Parameters:

  • customer_id (String)

    Required. The ID of the customer.

  • google_ads_searchads360_v23_services__mutate_account_budget_proposal_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAccountBudgetProposalRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
# File 'lib/google/apis/searchads360_v23/service.rb', line 1210

def (customer_id,  = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/accountBudgetProposals:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAccountBudgetProposalRequest::Representation
  command.request_object = 
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAccountBudgetProposalResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAccountBudgetProposalResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

Creates or removes an account link. From V5, create is not supported through AccountLinkService.MutateAccountLink. Use AccountLinkService.CreateAccountLink instead. List of thrown errors: AccountLinkError AuthenticationError AuthorizationError FieldMaskError HeaderError InternalError MutateError QuotaError RequestError

Parameters:

  • customer_id (String)

    Required. The ID of the customer being modified.

  • google_ads_searchads360_v23_services__mutate_account_link_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAccountLinkRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
# File 'lib/google/apis/searchads360_v23/service.rb', line 1283

def (customer_id,  = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/accountLinks:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAccountLinkRequest::Representation
  command.request_object = 
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAccountLinkResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAccountLinkResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_ad(customer_id, google_ads_searchads360_v23_services__mutate_ads_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdsResponse

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose ads are being modified.

  • google_ads_searchads360_v23_services__mutate_ads_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
# File 'lib/google/apis/searchads360_v23/service.rb', line 1785

def mutate_customer_ad(customer_id, google_ads_searchads360_v23_services__mutate_ads_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/ads:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_ads_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_ad_group(customer_id, google_ads_searchads360_v23_services__mutate_ad_groups_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupsResponse

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose ad groups are being modified.

  • google_ads_searchads360_v23_services__mutate_ad_groups_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
# File 'lib/google/apis/searchads360_v23/service.rb', line 1704

def mutate_customer_ad_group(customer_id, google_ads_searchads360_v23_services__mutate_ad_groups_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/adGroups:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_ad_groups_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_ad_group_ad(customer_id, google_ads_searchads360_v23_services__mutate_ad_group_ads_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupAdsResponse

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose ads are being modified.

  • google_ads_searchads360_v23_services__mutate_ad_group_ads_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupAdsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
# File 'lib/google/apis/searchads360_v23/service.rb', line 1365

def mutate_customer_ad_group_ad(customer_id, google_ads_searchads360_v23_services__mutate_ad_group_ads_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/adGroupAds:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupAdsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_ad_group_ads_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupAdsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupAdsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_ad_group_ad_label(customer_id, google_ads_searchads360_v23_services__mutate_ad_group_ad_labels_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupAdLabelsResponse

Creates and removes ad group ad labels. Operation statuses are returned. List of thrown errors: AuthenticationError AuthorizationError DatabaseError HeaderError InternalError LabelError MutateError NewResourceCreationError QuotaError RequestError

Parameters:

  • customer_id (String)

    Required. ID of the customer whose ad group ad labels are being modified.

  • google_ads_searchads360_v23_services__mutate_ad_group_ad_labels_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupAdLabelsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
# File 'lib/google/apis/searchads360_v23/service.rb', line 1319

def mutate_customer_ad_group_ad_label(customer_id, google_ads_searchads360_v23_services__mutate_ad_group_ad_labels_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/adGroupAdLabels:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupAdLabelsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_ad_group_ad_labels_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupAdLabelsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupAdLabelsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_ad_group_asset(customer_id, google_ads_searchads360_v23_services__mutate_ad_group_assets_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupAssetsResponse

Creates, updates, or removes ad group assets. Operation statuses are returned. List of thrown errors: AssetLinkError AuthenticationError AuthorizationError ContextError FieldError HeaderError InternalError MutateError NotAllowlistedError QuotaError RequestError

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose ad group assets are being modified.

  • google_ads_searchads360_v23_services__mutate_ad_group_assets_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupAssetsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
# File 'lib/google/apis/searchads360_v23/service.rb', line 1472

def mutate_customer_ad_group_asset(customer_id, google_ads_searchads360_v23_services__mutate_ad_group_assets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/adGroupAssets:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupAssetsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_ad_group_assets_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupAssetsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupAssetsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_ad_group_asset_set(customer_id, google_ads_searchads360_v23_services__mutate_ad_group_asset_sets_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupAssetSetsResponse

Creates, or removes ad group asset sets. Operation statuses are returned.

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose ad group asset sets are being modified.

  • google_ads_searchads360_v23_services__mutate_ad_group_asset_sets_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupAssetSetsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
# File 'lib/google/apis/searchads360_v23/service.rb', line 1435

def mutate_customer_ad_group_asset_set(customer_id, google_ads_searchads360_v23_services__mutate_ad_group_asset_sets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/adGroupAssetSets:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupAssetSetsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_ad_group_asset_sets_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupAssetSetsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupAssetSetsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_ad_group_bid_modifier(customer_id, google_ads_searchads360_v23_services__mutate_ad_group_bid_modifiers_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifiersResponse

Parameters:

  • customer_id (String)

    Required. ID of the customer whose ad group bid modifiers are being modified.

  • google_ads_searchads360_v23_services__mutate_ad_group_bid_modifiers_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifiersRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
# File 'lib/google/apis/searchads360_v23/service.rb', line 1512

def mutate_customer_ad_group_bid_modifier(customer_id, google_ads_searchads360_v23_services__mutate_ad_group_bid_modifiers_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/adGroupBidModifiers:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifiersRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_ad_group_bid_modifiers_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifiersResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupBidModifiersResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_ad_group_criterion_customizer(customer_id, google_ads_searchads360_v23_services__mutate_ad_group_criterion_customizers_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizersResponse

Creates, updates or removes ad group criterion customizers. Operation statuses are returned.

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose ad group criterion customizers are being modified.

  • google_ads_searchads360_v23_services__mutate_ad_group_criterion_customizers_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizersRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
# File 'lib/google/apis/searchads360_v23/service.rb', line 1067

def mutate_customer_ad_group_criterion_customizer(customer_id, google_ads_searchads360_v23_services__mutate_ad_group_criterion_customizers_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/AdGroupCriterionCustomizers:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizersRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_ad_group_criterion_customizers_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizersResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionCustomizersResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_ad_group_criterion_label(customer_id, google_ads_searchads360_v23_services__mutate_ad_group_criterion_labels_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionLabelsResponse

Creates and removes ad group criterion labels. Operation statuses are returned. List of thrown errors: AuthenticationError AuthorizationError DatabaseError FieldError HeaderError InternalError QuotaError RequestError

Parameters:

  • customer_id (String)

    Required. ID of the customer whose ad group criterion labels are being modified.

  • google_ads_searchads360_v23_services__mutate_ad_group_criterion_labels_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionLabelsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
# File 'lib/google/apis/searchads360_v23/service.rb', line 1592

def mutate_customer_ad_group_criterion_label(customer_id, google_ads_searchads360_v23_services__mutate_ad_group_criterion_labels_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/adGroupCriterionLabels:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionLabelsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_ad_group_criterion_labels_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionLabelsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupCriterionLabelsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_ad_group_criterium(customer_id, google_ads_searchads360_v23_services__mutate_ad_group_criteria_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupCriteriaResponse

Parameters:

  • customer_id (String)

    Required. ID of the customer whose criteria are being modified.

  • google_ads_searchads360_v23_services__mutate_ad_group_criteria_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupCriteriaRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
# File 'lib/google/apis/searchads360_v23/service.rb', line 1555

def mutate_customer_ad_group_criterium(customer_id, google_ads_searchads360_v23_services__mutate_ad_group_criteria_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/adGroupCriteria:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupCriteriaRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_ad_group_criteria_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupCriteriaResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupCriteriaResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_ad_group_customizer(customer_id, google_ads_searchads360_v23_services__mutate_ad_group_customizers_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizersResponse

Creates, updates or removes ad group customizers. Operation statuses are returned.

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose ad group customizers are being modified.

  • google_ads_searchads360_v23_services__mutate_ad_group_customizers_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizersRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
# File 'lib/google/apis/searchads360_v23/service.rb', line 1626

def mutate_customer_ad_group_customizer(customer_id, google_ads_searchads360_v23_services__mutate_ad_group_customizers_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/adGroupCustomizers:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizersRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_ad_group_customizers_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizersResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupCustomizersResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_ad_group_label(customer_id, google_ads_searchads360_v23_services__mutate_ad_group_labels_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupLabelsResponse

Creates and removes ad group labels. Operation statuses are returned. List of thrown errors: AuthenticationError AuthorizationError DatabaseError FieldError HeaderError InternalError LabelError MutateError NewResourceCreationError QuotaError RequestError

Parameters:

  • customer_id (String)

    Required. ID of the customer whose ad group labels are being modified.

  • google_ads_searchads360_v23_services__mutate_ad_group_labels_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupLabelsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
# File 'lib/google/apis/searchads360_v23/service.rb', line 1662

def mutate_customer_ad_group_label(customer_id, google_ads_searchads360_v23_services__mutate_ad_group_labels_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/adGroupLabels:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupLabelsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_ad_group_labels_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupLabelsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupLabelsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_ad_parameter(customer_id, google_ads_searchads360_v23_services__mutate_ad_parameters_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdParametersResponse

Creates, updates, or removes ad parameters. Operation statuses are returned. List of thrown errors: AdParameterError AuthenticationError AuthorizationError ContextError DatabaseError FieldError FieldMaskError HeaderError InternalError MutateError QuotaError RequestError

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose ad parameters are being modified.

  • google_ads_searchads360_v23_services__mutate_ad_parameters_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdParametersRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
# File 'lib/google/apis/searchads360_v23/service.rb', line 1741

def mutate_customer_ad_parameter(customer_id, google_ads_searchads360_v23_services__mutate_ad_parameters_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/adParameters:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdParametersRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_ad_parameters_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdParametersResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdParametersResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_asset(customer_id, google_ads_searchads360_v23_services__mutate_assets_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAssetsResponse

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose assets are being modified.

  • google_ads_searchads360_v23_services__mutate_assets_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAssetsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
# File 'lib/google/apis/searchads360_v23/service.rb', line 2026

def mutate_customer_asset(customer_id, google_ads_searchads360_v23_services__mutate_assets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/assets:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAssetsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_assets_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAssetsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAssetsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_asset_group(customer_id, google_ads_searchads360_v23_services__mutate_asset_groups_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAssetGroupsResponse

Creates, updates or removes asset groups. Operation statuses are returned.

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose asset groups are being modified.

  • google_ads_searchads360_v23_services__mutate_asset_groups_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAssetGroupsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
# File 'lib/google/apis/searchads360_v23/service.rb', line 1920

def mutate_customer_asset_group(customer_id, google_ads_searchads360_v23_services__mutate_asset_groups_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/assetGroups:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAssetGroupsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_asset_groups_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAssetGroupsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAssetGroupsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_asset_group_asset(customer_id, google_ads_searchads360_v23_services__mutate_asset_group_assets_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAssetGroupAssetsResponse

Creates, updates or removes asset group assets. Operation statuses are returned.

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose asset group assets are being modified.

  • google_ads_searchads360_v23_services__mutate_asset_group_assets_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAssetGroupAssetsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
# File 'lib/google/apis/searchads360_v23/service.rb', line 1819

def mutate_customer_asset_group_asset(customer_id, google_ads_searchads360_v23_services__mutate_asset_group_assets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/assetGroupAssets:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAssetGroupAssetsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_asset_group_assets_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAssetGroupAssetsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAssetGroupAssetsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_asset_group_listing_group_filter(customer_id, google_ads_searchads360_v23_services__mutate_asset_group_listing_group_filters_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAssetGroupListingGroupFiltersResponse

Creates, updates or removes asset group listing group filters. Operation statuses are returned.

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose asset group listing group filters are being modified.

  • google_ads_searchads360_v23_services__mutate_asset_group_listing_group_filters_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAssetGroupListingGroupFiltersRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
# File 'lib/google/apis/searchads360_v23/service.rb', line 1854

def mutate_customer_asset_group_listing_group_filter(customer_id, google_ads_searchads360_v23_services__mutate_asset_group_listing_group_filters_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/assetGroupListingGroupFilters:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAssetGroupListingGroupFiltersRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_asset_group_listing_group_filters_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAssetGroupListingGroupFiltersResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAssetGroupListingGroupFiltersResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_asset_group_signal(customer_id, google_ads_searchads360_v23_services__mutate_asset_group_signals_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalsResponse

Creates or removes asset group signals. Operation statuses are returned.

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose asset group signals are being modified.

  • google_ads_searchads360_v23_services__mutate_asset_group_signals_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
# File 'lib/google/apis/searchads360_v23/service.rb', line 1887

def mutate_customer_asset_group_signal(customer_id, google_ads_searchads360_v23_services__mutate_asset_group_signals_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/assetGroupSignals:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_asset_group_signals_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAssetGroupSignalsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_asset_set(customer_id, google_ads_searchads360_v23_services__mutate_asset_sets_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAssetSetsResponse

Creates, updates or removes asset sets. Operation statuses are returned.

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose asset sets are being modified.

  • google_ads_searchads360_v23_services__mutate_asset_sets_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAssetSetsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
# File 'lib/google/apis/searchads360_v23/service.rb', line 1986

def mutate_customer_asset_set(customer_id, google_ads_searchads360_v23_services__mutate_asset_sets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/assetSets:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAssetSetsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_asset_sets_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAssetSetsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAssetSetsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_asset_set_asset(customer_id, google_ads_searchads360_v23_services__mutate_asset_set_assets_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAssetSetAssetsResponse

Creates, updates or removes asset set assets. Operation statuses are returned.

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose asset set assets are being modified.

  • google_ads_searchads360_v23_services__mutate_asset_set_assets_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAssetSetAssetsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
# File 'lib/google/apis/searchads360_v23/service.rb', line 1953

def mutate_customer_asset_set_asset(customer_id, google_ads_searchads360_v23_services__mutate_asset_set_assets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/assetSetAssets:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAssetSetAssetsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_asset_set_assets_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAssetSetAssetsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAssetSetAssetsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_audience(customer_id, google_ads_searchads360_v23_services__mutate_audiences_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAudiencesResponse

Creates audiences. Operation statuses are returned. List of thrown errors: AudienceError

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose audiences are being modified.

  • google_ads_searchads360_v23_services__mutate_audiences_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAudiencesRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
# File 'lib/google/apis/searchads360_v23/service.rb', line 2060

def mutate_customer_audience(customer_id, google_ads_searchads360_v23_services__mutate_audiences_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/audiences:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAudiencesRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_audiences_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAudiencesResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAudiencesResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_batch_job(customer_id, google_ads_searchads360_v23_services__mutate_batch_job_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateBatchJobResponse

Parameters:

  • customer_id (String)

    Required. The ID of the customer for which to create a batch job.

  • google_ads_searchads360_v23_services__mutate_batch_job_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateBatchJobRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
# File 'lib/google/apis/searchads360_v23/service.rb', line 2174

def mutate_customer_batch_job(customer_id, google_ads_searchads360_v23_services__mutate_batch_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/batchJobs:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateBatchJobRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_batch_job_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateBatchJobResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateBatchJobResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_bidding_data_exclusion(customer_id, google_ads_searchads360_v23_services__mutate_bidding_data_exclusions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateBiddingDataExclusionsResponse

Creates, updates, or removes data exclusions. Operation statuses are returned.

Parameters:

  • customer_id (String)

    Required. ID of the customer whose data exclusions are being modified.

  • google_ads_searchads360_v23_services__mutate_bidding_data_exclusions_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateBiddingDataExclusionsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
# File 'lib/google/apis/searchads360_v23/service.rb', line 2245

def mutate_customer_bidding_data_exclusion(customer_id, google_ads_searchads360_v23_services__mutate_bidding_data_exclusions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/biddingDataExclusions:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateBiddingDataExclusionsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_bidding_data_exclusions_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateBiddingDataExclusionsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateBiddingDataExclusionsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_bidding_seasonality_adjustment(customer_id, google_ads_searchads360_v23_services__mutate_bidding_seasonality_adjustments_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateBiddingSeasonalityAdjustmentsResponse

Creates, updates, or removes seasonality adjustments. Operation statuses are returned.

Parameters:

  • customer_id (String)

    Required. ID of the customer whose seasonality adjustments are being modified.

  • google_ads_searchads360_v23_services__mutate_bidding_seasonality_adjustments_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateBiddingSeasonalityAdjustmentsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
# File 'lib/google/apis/searchads360_v23/service.rb', line 2279

def mutate_customer_bidding_seasonality_adjustment(customer_id, google_ads_searchads360_v23_services__mutate_bidding_seasonality_adjustments_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/biddingSeasonalityAdjustments:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateBiddingSeasonalityAdjustmentsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_bidding_seasonality_adjustments_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateBiddingSeasonalityAdjustmentsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateBiddingSeasonalityAdjustmentsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_bidding_strategy(customer_id, google_ads_searchads360_v23_services__mutate_bidding_strategies_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateBiddingStrategiesResponse

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose bidding strategies are being modified.

  • google_ads_searchads360_v23_services__mutate_bidding_strategies_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateBiddingStrategiesRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
# File 'lib/google/apis/searchads360_v23/service.rb', line 2319

def mutate_customer_bidding_strategy(customer_id, google_ads_searchads360_v23_services__mutate_bidding_strategies_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/biddingStrategies:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateBiddingStrategiesRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_bidding_strategies_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateBiddingStrategiesResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateBiddingStrategiesResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_billing_setup(customer_id, google_ads_searchads360_v23_services__mutate_billing_setup_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateBillingSetupResponse

Creates a billing setup, or cancels an existing billing setup. List of thrown errors: AuthenticationError AuthorizationError BillingSetupError DateError FieldError HeaderError InternalError MutateError QuotaError RequestError

Parameters:

  • customer_id (String)

    Required. Id of the customer to apply the billing setup mutate operation to.

  • google_ads_searchads360_v23_services__mutate_billing_setup_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateBillingSetupRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
# File 'lib/google/apis/searchads360_v23/service.rb', line 2355

def mutate_customer_billing_setup(customer_id, google_ads_searchads360_v23_services__mutate_billing_setup_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/billingSetups:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateBillingSetupRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_billing_setup_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateBillingSetupResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateBillingSetupResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_campaign(customer_id, google_ads_searchads360_v23_services__mutate_campaigns_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignsResponse

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose campaigns are being modified.

  • google_ads_searchads360_v23_services__mutate_campaigns_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
# File 'lib/google/apis/searchads360_v23/service.rb', line 2960

def mutate_customer_campaign(customer_id, google_ads_searchads360_v23_services__mutate_campaigns_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/campaigns:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_campaigns_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_campaign_asset(customer_id, google_ads_searchads360_v23_services__mutate_campaign_assets_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignAssetsResponse

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose campaign assets are being modified.

  • google_ads_searchads360_v23_services__mutate_campaign_assets_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignAssetsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
# File 'lib/google/apis/searchads360_v23/service.rb', line 2426

def mutate_customer_campaign_asset(customer_id, google_ads_searchads360_v23_services__mutate_campaign_assets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/campaignAssets:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignAssetsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_campaign_assets_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignAssetsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignAssetsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_campaign_asset_set(customer_id, google_ads_searchads360_v23_services__mutate_campaign_asset_sets_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetsResponse

Creates, updates or removes campaign asset sets. Operation statuses are returned.

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose campaign asset sets are being modified.

  • google_ads_searchads360_v23_services__mutate_campaign_asset_sets_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
# File 'lib/google/apis/searchads360_v23/service.rb', line 2389

def mutate_customer_campaign_asset_set(customer_id, google_ads_searchads360_v23_services__mutate_campaign_asset_sets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/campaignAssetSets:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_campaign_asset_sets_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignAssetSetsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_campaign_bid_modifier(customer_id, google_ads_searchads360_v23_services__mutate_campaign_bid_modifiers_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignBidModifiersResponse

Parameters:

  • customer_id (String)

    Required. ID of the customer whose campaign bid modifiers are being modified.

  • google_ads_searchads360_v23_services__mutate_campaign_bid_modifiers_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignBidModifiersRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
# File 'lib/google/apis/searchads360_v23/service.rb', line 2465

def mutate_customer_campaign_bid_modifier(customer_id, google_ads_searchads360_v23_services__mutate_campaign_bid_modifiers_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/campaignBidModifiers:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignBidModifiersRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_campaign_bid_modifiers_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignBidModifiersResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignBidModifiersResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_campaign_budget(customer_id, google_ads_searchads360_v23_services__mutate_campaign_budgets_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignBudgetsResponse

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose campaign budgets are being modified.

  • google_ads_searchads360_v23_services__mutate_campaign_budgets_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignBudgetsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
# File 'lib/google/apis/searchads360_v23/service.rb', line 2504

def mutate_customer_campaign_budget(customer_id, google_ads_searchads360_v23_services__mutate_campaign_budgets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/campaignBudgets:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignBudgetsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_campaign_budgets_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignBudgetsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignBudgetsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_campaign_conversion_goal(customer_id, google_ads_searchads360_v23_services__mutate_campaign_conversion_goals_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignConversionGoalsResponse

Creates, updates or removes campaign conversion goals. Operation statuses are returned.

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose campaign conversion goals are being modified.

  • google_ads_searchads360_v23_services__mutate_campaign_conversion_goals_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignConversionGoalsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
# File 'lib/google/apis/searchads360_v23/service.rb', line 2539

def mutate_customer_campaign_conversion_goal(customer_id, google_ads_searchads360_v23_services__mutate_campaign_conversion_goals_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/campaignConversionGoals:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignConversionGoalsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_campaign_conversion_goals_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignConversionGoalsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignConversionGoalsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_campaign_criterium(customer_id, google_ads_searchads360_v23_services__mutate_campaign_criteria_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignCriteriaResponse

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose criteria are being modified.

  • google_ads_searchads360_v23_services__mutate_campaign_criteria_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignCriteriaRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
# File 'lib/google/apis/searchads360_v23/service.rb', line 2580

def mutate_customer_campaign_criterium(customer_id, google_ads_searchads360_v23_services__mutate_campaign_criteria_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/campaignCriteria:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignCriteriaRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_campaign_criteria_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignCriteriaResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignCriteriaResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_campaign_customizer(customer_id, google_ads_searchads360_v23_services__mutate_campaign_customizers_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignCustomizersResponse

Creates, updates or removes campaign customizers. Operation statuses are returned.

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose campaign customizers are being modified.

  • google_ads_searchads360_v23_services__mutate_campaign_customizers_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignCustomizersRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
# File 'lib/google/apis/searchads360_v23/service.rb', line 2614

def mutate_customer_campaign_customizer(customer_id, google_ads_searchads360_v23_services__mutate_campaign_customizers_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/campaignCustomizers:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignCustomizersRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_campaign_customizers_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignCustomizersResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignCustomizersResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_campaign_draft(customer_id, google_ads_searchads360_v23_services__mutate_campaign_drafts_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignDraftsResponse

Creates, updates, or removes campaign drafts. Operation statuses are returned. List of thrown errors: AuthenticationError AuthorizationError CampaignDraftError DatabaseError FieldError HeaderError InternalError MutateError QuotaError RequestError

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose campaign drafts are being modified.

  • google_ads_searchads360_v23_services__mutate_campaign_drafts_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignDraftsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
# File 'lib/google/apis/searchads360_v23/service.rb', line 2693

def mutate_customer_campaign_draft(customer_id, google_ads_searchads360_v23_services__mutate_campaign_drafts_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/campaignDrafts:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignDraftsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_campaign_drafts_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignDraftsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignDraftsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_campaign_goal_config(customer_id, google_ads_searchads360_v23_services__mutate_campaign_goal_configs_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignGoalConfigsResponse

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose campaign goal configs are being modified.

  • google_ads_searchads360_v23_services__mutate_campaign_goal_configs_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignGoalConfigsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
# File 'lib/google/apis/searchads360_v23/service.rb', line 1104

def mutate_customer_campaign_goal_config(customer_id, google_ads_searchads360_v23_services__mutate_campaign_goal_configs_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/CampaignGoalConfigs:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignGoalConfigsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_campaign_goal_configs_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignGoalConfigsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignGoalConfigsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_campaign_group(customer_id, google_ads_searchads360_v23_services__mutate_campaign_groups_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignGroupsResponse

Creates, updates, or removes campaign groups. Operation statuses are returned.

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose campaign groups are being modified.

  • google_ads_searchads360_v23_services__mutate_campaign_groups_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignGroupsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
# File 'lib/google/apis/searchads360_v23/service.rb', line 2767

def mutate_customer_campaign_group(customer_id, google_ads_searchads360_v23_services__mutate_campaign_groups_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/campaignGroups:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignGroupsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_campaign_groups_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignGroupsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignGroupsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_campaign_label(customer_id, google_ads_searchads360_v23_services__mutate_campaign_labels_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignLabelsResponse

Creates and removes campaign-label relationships. Operation statuses are returned. List of thrown errors: AuthenticationError AuthorizationError DatabaseError FieldError HeaderError InternalError LabelError MutateError NewResourceCreationError QuotaError RequestError

Parameters:

  • customer_id (String)

    Required. ID of the customer whose campaign-label relationships are being modified.

  • google_ads_searchads360_v23_services__mutate_campaign_labels_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignLabelsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
# File 'lib/google/apis/searchads360_v23/service.rb', line 2805

def mutate_customer_campaign_label(customer_id, google_ads_searchads360_v23_services__mutate_campaign_labels_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/campaignLabels:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignLabelsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_campaign_labels_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignLabelsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignLabelsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_campaign_shared_set(customer_id, google_ads_searchads360_v23_services__mutate_campaign_shared_sets_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetsResponse

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose campaign shared sets are being modified.

  • google_ads_searchads360_v23_services__mutate_campaign_shared_sets_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
# File 'lib/google/apis/searchads360_v23/service.rb', line 2880

def mutate_customer_campaign_shared_set(customer_id, google_ads_searchads360_v23_services__mutate_campaign_shared_sets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/campaignSharedSets:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_campaign_shared_sets_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignSharedSetsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_conversion_action(customer_id, google_ads_searchads360_v23_services__mutate_conversion_actions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateConversionActionsResponse

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose conversion actions are being modified.

  • google_ads_searchads360_v23_services__mutate_conversion_actions_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateConversionActionsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
# File 'lib/google/apis/searchads360_v23/service.rb', line 2998

def mutate_customer_conversion_action(customer_id, google_ads_searchads360_v23_services__mutate_conversion_actions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/conversionActions:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateConversionActionsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_conversion_actions_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateConversionActionsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateConversionActionsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_conversion_custom_variable(customer_id, google_ads_searchads360_v23_services__mutate_conversion_custom_variables_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateConversionCustomVariablesResponse

Creates or updates conversion custom variables. Operation statuses are returned. List of thrown errors: AuthenticationError AuthorizationError ConversionCustomVariableError DatabaseError HeaderError InternalError QuotaError RequestError

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose conversion custom variables are being modified.

  • google_ads_searchads360_v23_services__mutate_conversion_custom_variables_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateConversionCustomVariablesRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
# File 'lib/google/apis/searchads360_v23/service.rb', line 3035

def mutate_customer_conversion_custom_variable(customer_id, google_ads_searchads360_v23_services__mutate_conversion_custom_variables_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/conversionCustomVariables:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateConversionCustomVariablesRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_conversion_custom_variables_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateConversionCustomVariablesResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateConversionCustomVariablesResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_conversion_goal_campaign_config(customer_id, google_ads_searchads360_v23_services__mutate_conversion_goal_campaign_configs_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateConversionGoalCampaignConfigsResponse

Creates, updates or removes conversion goal campaign config. Operation statuses are returned.

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose custom conversion goals are being modified.

  • google_ads_searchads360_v23_services__mutate_conversion_goal_campaign_configs_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateConversionGoalCampaignConfigsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
# File 'lib/google/apis/searchads360_v23/service.rb', line 3070

def mutate_customer_conversion_goal_campaign_config(customer_id, google_ads_searchads360_v23_services__mutate_conversion_goal_campaign_configs_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/conversionGoalCampaignConfigs:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateConversionGoalCampaignConfigsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_conversion_goal_campaign_configs_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateConversionGoalCampaignConfigsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateConversionGoalCampaignConfigsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_conversion_value_rule(customer_id, google_ads_searchads360_v23_services__mutate_conversion_value_rules_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateConversionValueRulesResponse

Creates, updates, or removes conversion value rules. Operation statuses are returned.

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose conversion value rules are being modified.

  • google_ads_searchads360_v23_services__mutate_conversion_value_rules_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateConversionValueRulesRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
# File 'lib/google/apis/searchads360_v23/service.rb', line 3140

def mutate_customer_conversion_value_rule(customer_id, google_ads_searchads360_v23_services__mutate_conversion_value_rules_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/conversionValueRules:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateConversionValueRulesRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_conversion_value_rules_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateConversionValueRulesResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateConversionValueRulesResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_conversion_value_rule_set(customer_id, google_ads_searchads360_v23_services__mutate_conversion_value_rule_sets_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetsResponse

Creates, updates or removes conversion value rule sets. Operation statuses are returned.

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose conversion value rule sets are being modified.

  • google_ads_searchads360_v23_services__mutate_conversion_value_rule_sets_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
# File 'lib/google/apis/searchads360_v23/service.rb', line 3105

def mutate_customer_conversion_value_rule_set(customer_id, google_ads_searchads360_v23_services__mutate_conversion_value_rule_sets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/conversionValueRuleSets:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_conversion_value_rule_sets_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateConversionValueRuleSetsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_custom_audience(customer_id, google_ads_searchads360_v23_services__mutate_custom_audiences_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomAudiencesResponse

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose custom audiences are being modified.

  • google_ads_searchads360_v23_services__mutate_custom_audiences_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomAudiencesRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
# File 'lib/google/apis/searchads360_v23/service.rb', line 3178

def mutate_customer_custom_audience(customer_id, google_ads_searchads360_v23_services__mutate_custom_audiences_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/customAudiences:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomAudiencesRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_custom_audiences_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomAudiencesResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomAudiencesResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_custom_conversion_goal(customer_id, google_ads_searchads360_v23_services__mutate_custom_conversion_goals_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalsResponse

Creates, updates or removes custom conversion goals. Operation statuses are returned.

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose custom conversion goals are being modified.

  • google_ads_searchads360_v23_services__mutate_custom_conversion_goals_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
# File 'lib/google/apis/searchads360_v23/service.rb', line 3273

def mutate_customer_custom_conversion_goal(customer_id, google_ads_searchads360_v23_services__mutate_custom_conversion_goals_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/customConversionGoals:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_custom_conversion_goals_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_custom_interest(customer_id, google_ads_searchads360_v23_services__mutate_custom_interests_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomInterestsResponse

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose custom interests are being modified.

  • google_ads_searchads360_v23_services__mutate_custom_interests_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomInterestsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
# File 'lib/google/apis/searchads360_v23/service.rb', line 3309

def mutate_customer_custom_interest(customer_id, google_ads_searchads360_v23_services__mutate_custom_interests_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/customInterests:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomInterestsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_custom_interests_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomInterestsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomInterestsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_customer_asset(customer_id, google_ads_searchads360_v23_services__mutate_customer_assets_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerAssetsResponse

Creates, updates, or removes customer assets. Operation statuses are returned. List of thrown errors: AssetLinkError AuthenticationError AuthorizationError FieldError HeaderError InternalError MutateError QuotaError RequestError

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose customer assets are being modified.

  • google_ads_searchads360_v23_services__mutate_customer_assets_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerAssetsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
# File 'lib/google/apis/searchads360_v23/service.rb', line 3378

def mutate_customer_customer_asset(customer_id, google_ads_searchads360_v23_services__mutate_customer_assets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/customerAssets:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerAssetsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_customer_assets_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerAssetsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerAssetsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_customer_asset_set(customer_id, google_ads_searchads360_v23_services__mutate_customer_asset_sets_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerAssetSetsResponse

Creates, or removes customer asset sets. Operation statuses are returned.

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose customer asset sets are being modified.

  • google_ads_searchads360_v23_services__mutate_customer_asset_sets_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerAssetSetsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
# File 'lib/google/apis/searchads360_v23/service.rb', line 3342

def mutate_customer_customer_asset_set(customer_id, google_ads_searchads360_v23_services__mutate_customer_asset_sets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/customerAssetSets:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerAssetSetsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_customer_asset_sets_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerAssetSetsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerAssetSetsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose customer link are being modified.

  • google_ads_searchads360_v23_services__mutate_customer_client_link_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerClientLinkRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
# File 'lib/google/apis/searchads360_v23/service.rb', line 3415

def mutate_customer_customer_client_link(customer_id, google_ads_searchads360_v23_services__mutate_customer_client_link_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/customerClientLinks:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerClientLinkRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_customer_client_link_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerClientLinkResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerClientLinkResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_customer_conversion_goal(customer_id, google_ads_searchads360_v23_services__mutate_customer_conversion_goals_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerConversionGoalsResponse

Creates, updates or removes customer conversion goals. Operation statuses are returned.

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose customer conversion goals are being modified.

  • google_ads_searchads360_v23_services__mutate_customer_conversion_goals_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerConversionGoalsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
# File 'lib/google/apis/searchads360_v23/service.rb', line 3450

def mutate_customer_customer_conversion_goal(customer_id, google_ads_searchads360_v23_services__mutate_customer_conversion_goals_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/customerConversionGoals:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerConversionGoalsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_customer_conversion_goals_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerConversionGoalsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerConversionGoalsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_customer_customizer(customer_id, google_ads_searchads360_v23_services__mutate_customer_customizers_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerCustomizersResponse

Creates, updates or removes customer customizers. Operation statuses are returned.

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose customer customizers are being modified.

  • google_ads_searchads360_v23_services__mutate_customer_customizers_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerCustomizersRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
# File 'lib/google/apis/searchads360_v23/service.rb', line 1138

def mutate_customer_customer_customizer(customer_id, google_ads_searchads360_v23_services__mutate_customer_customizers_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/CustomerCustomizers:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerCustomizersRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_customer_customizers_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerCustomizersResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerCustomizersResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_customer_label(customer_id, google_ads_searchads360_v23_services__mutate_customer_labels_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerLabelsResponse

Creates and removes customer-label relationships. Operation statuses are returned. List of thrown errors: AuthenticationError AuthorizationError DatabaseError HeaderError InternalError LabelError MutateError QuotaError RequestError

Parameters:

  • customer_id (String)

    Required. ID of the customer whose customer-label relationships are being modified.

  • google_ads_searchads360_v23_services__mutate_customer_labels_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerLabelsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
# File 'lib/google/apis/searchads360_v23/service.rb', line 3487

def mutate_customer_customer_label(customer_id, google_ads_searchads360_v23_services__mutate_customer_labels_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/customerLabels:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerLabelsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_customer_labels_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerLabelsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerLabelsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

Updates customer manager links. Operation statuses are returned. List of thrown errors: AuthenticationError AuthorizationError DatabaseError FieldError FieldMaskError HeaderError InternalError ManagerLinkError MutateError QuotaError RequestError

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose customer manager links are being modified.

  • google_ads_searchads360_v23_services__mutate_customer_manager_link_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerManagerLinkRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
# File 'lib/google/apis/searchads360_v23/service.rb', line 3599

def mutate_customer_customer_manager_link(customer_id, google_ads_searchads360_v23_services__mutate_customer_manager_link_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/customerManagerLinks:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerManagerLinkRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_customer_manager_link_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerManagerLinkResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerManagerLinkResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_customer_negative_criterium(customer_id, google_ads_searchads360_v23_services__mutate_customer_negative_criteria_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaResponse

Creates or removes criteria. Operation statuses are returned. List of thrown errors: AuthenticationError AuthorizationError CriterionError DatabaseError FieldError HeaderError InternalError MutateError QuotaError RequestError

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose criteria are being modified.

  • google_ads_searchads360_v23_services__mutate_customer_negative_criteria_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
# File 'lib/google/apis/searchads360_v23/service.rb', line 3635

def mutate_customer_customer_negative_criterium(customer_id, google_ads_searchads360_v23_services__mutate_customer_negative_criteria_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/customerNegativeCriteria:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_customer_negative_criteria_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_customer_sk_ad_network_conversion_value_schema(customer_id, google_ads_searchads360_v23_services__mutate_customer_sk_ad_network_conversion_value_schema_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerSkAdNetworkConversionValueSchemaResponse

Creates or updates the CustomerSkAdNetworkConversionValueSchema. List of thrown errors: AuthenticationError AuthorizationError FieldError InternalError MutateError

Parameters:

  • customer_id (String)

    The ID of the customer whose shared sets are being modified.

  • google_ads_searchads360_v23_services__mutate_customer_sk_ad_network_conversion_value_schema_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerSkAdNetworkConversionValueSchemaRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
# File 'lib/google/apis/searchads360_v23/service.rb', line 3670

def mutate_customer_customer_sk_ad_network_conversion_value_schema(customer_id, google_ads_searchads360_v23_services__mutate_customer_sk_ad_network_conversion_value_schema_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/customerSkAdNetworkConversionValueSchemas:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerSkAdNetworkConversionValueSchemaRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_customer_sk_ad_network_conversion_value_schema_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerSkAdNetworkConversionValueSchemaResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerSkAdNetworkConversionValueSchemaResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_customer_user_access(customer_id, google_ads_searchads360_v23_services__mutate_customer_user_access_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessResponse

Updates, removes permission of a user on a given customer. Operation statuses are returned. List of thrown errors: AuthenticationError AuthorizationError CustomerUserAccessError FieldMaskError HeaderError InternalError MutateError QuotaError RequestError

Parameters:

  • customer_id (String)

    Required. The ID of the customer being modified.

  • google_ads_searchads360_v23_services__mutate_customer_user_access_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
# File 'lib/google/apis/searchads360_v23/service.rb', line 3742

def mutate_customer_customer_user_access(customer_id, google_ads_searchads360_v23_services__mutate_customer_user_access_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/customerUserAccesses:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_customer_user_access_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_customer_user_access_invitation(customer_id, google_ads_searchads360_v23_services__mutate_customer_user_access_invitation_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessInvitationResponse

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose access invitation is being modified.

  • google_ads_searchads360_v23_services__mutate_customer_user_access_invitation_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessInvitationRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
# File 'lib/google/apis/searchads360_v23/service.rb', line 3705

def mutate_customer_customer_user_access_invitation(customer_id, google_ads_searchads360_v23_services__mutate_customer_user_access_invitation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/customerUserAccessInvitations:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessInvitationRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_customer_user_access_invitation_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessInvitationResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerUserAccessInvitationResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_customizer_attribute(customer_id, google_ads_searchads360_v23_services__mutate_customizer_attributes_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomizerAttributesResponse

Creates, updates or removes customizer attributes. Operation statuses are returned.

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose customizer attributes are being modified.

  • google_ads_searchads360_v23_services__mutate_customizer_attributes_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomizerAttributesRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
# File 'lib/google/apis/searchads360_v23/service.rb', line 3777

def mutate_customer_customizer_attribute(customer_id, google_ads_searchads360_v23_services__mutate_customizer_attributes_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/customizerAttributes:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomizerAttributesRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_customizer_attributes_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomizerAttributesResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomizerAttributesResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_experiment(customer_id, google_ads_searchads360_v23_services__mutate_experiments_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateExperimentsResponse

Creates, updates, or removes experiments. Operation statuses are returned. List of thrown errors: AuthenticationError AuthorizationError ExperimentError HeaderError InternalError QuotaError RequestError

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose experiments are being modified.

  • google_ads_searchads360_v23_services__mutate_experiments_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateExperimentsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
# File 'lib/google/apis/searchads360_v23/service.rb', line 4075

def mutate_customer_experiment(customer_id, google_ads_searchads360_v23_services__mutate_experiments_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/experiments:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateExperimentsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_experiments_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateExperimentsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateExperimentsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_experiment_arm(customer_id, google_ads_searchads360_v23_services__mutate_experiment_arms_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateExperimentArmsResponse

Creates, updates, or removes experiment arms. Operation statuses are returned. List of thrown errors: AuthenticationError AuthorizationError ExperimentArmError HeaderError InternalError QuotaError RequestError

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose experiments are being modified.

  • google_ads_searchads360_v23_services__mutate_experiment_arms_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateExperimentArmsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
# File 'lib/google/apis/searchads360_v23/service.rb', line 3924

def mutate_customer_experiment_arm(customer_id, google_ads_searchads360_v23_services__mutate_experiment_arms_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/experimentArms:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateExperimentArmsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_experiment_arms_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateExperimentArmsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateExperimentArmsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_goal(customer_id, google_ads_searchads360_v23_services__mutate_goals_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateGoalsResponse

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose goals are being modified.

  • google_ads_searchads360_v23_services__mutate_goals_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateGoalsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
# File 'lib/google/apis/searchads360_v23/service.rb', line 1173

def mutate_customer_goal(customer_id, google_ads_searchads360_v23_services__mutate_goals_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/Goals:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateGoalsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_goals_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateGoalsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateGoalsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_keyword_plan(customer_id, google_ads_searchads360_v23_services__mutate_keyword_plans_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateKeywordPlansResponse

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose keyword plans are being modified.

  • google_ads_searchads360_v23_services__mutate_keyword_plans_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateKeywordPlansRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
# File 'lib/google/apis/searchads360_v23/service.rb', line 4436

def mutate_customer_keyword_plan(customer_id, google_ads_searchads360_v23_services__mutate_keyword_plans_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/keywordPlans:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateKeywordPlansRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_keyword_plans_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateKeywordPlansResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateKeywordPlansResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_keyword_plan_ad_group(customer_id, google_ads_searchads360_v23_services__mutate_keyword_plan_ad_groups_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupsResponse

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose Keyword Plan ad groups are being modified.

  • google_ads_searchads360_v23_services__mutate_keyword_plan_ad_groups_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
# File 'lib/google/apis/searchads360_v23/service.rb', line 4322

def mutate_customer_keyword_plan_ad_group(customer_id, google_ads_searchads360_v23_services__mutate_keyword_plan_ad_groups_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/keywordPlanAdGroups:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_keyword_plan_ad_groups_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_keyword_plan_ad_group_keyword(customer_id, google_ads_searchads360_v23_services__mutate_keyword_plan_ad_group_keywords_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupKeywordsResponse

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose Keyword Plan ad group keywords are being modified.

  • google_ads_searchads360_v23_services__mutate_keyword_plan_ad_group_keywords_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupKeywordsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
# File 'lib/google/apis/searchads360_v23/service.rb', line 4283

def mutate_customer_keyword_plan_ad_group_keyword(customer_id, google_ads_searchads360_v23_services__mutate_keyword_plan_ad_group_keywords_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/keywordPlanAdGroupKeywords:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupKeywordsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_keyword_plan_ad_group_keywords_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupKeywordsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateKeywordPlanAdGroupKeywordsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_keyword_plan_campaign(customer_id, google_ads_searchads360_v23_services__mutate_keyword_plan_campaigns_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignsResponse

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose Keyword Plan campaigns are being modified.

  • google_ads_searchads360_v23_services__mutate_keyword_plan_campaigns_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
# File 'lib/google/apis/searchads360_v23/service.rb', line 4399

def mutate_customer_keyword_plan_campaign(customer_id, google_ads_searchads360_v23_services__mutate_keyword_plan_campaigns_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/keywordPlanCampaigns:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_keyword_plan_campaigns_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_keyword_plan_campaign_keyword(customer_id, google_ads_searchads360_v23_services__mutate_keyword_plan_campaign_keywords_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignKeywordsResponse

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose campaign keywords are being modified.

  • google_ads_searchads360_v23_services__mutate_keyword_plan_campaign_keywords_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignKeywordsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
# File 'lib/google/apis/searchads360_v23/service.rb', line 4360

def mutate_customer_keyword_plan_campaign_keyword(customer_id, google_ads_searchads360_v23_services__mutate_keyword_plan_campaign_keywords_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/keywordPlanCampaignKeywords:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignKeywordsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_keyword_plan_campaign_keywords_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignKeywordsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateKeywordPlanCampaignKeywordsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_label(customer_id, google_ads_searchads360_v23_services__mutate_labels_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateLabelsResponse

Parameters:

  • customer_id (String)

    Required. ID of the customer whose labels are being modified.

  • google_ads_searchads360_v23_services__mutate_labels_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateLabelsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
# File 'lib/google/apis/searchads360_v23/service.rb', line 4475

def mutate_customer_label(customer_id, google_ads_searchads360_v23_services__mutate_labels_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/labels:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateLabelsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_labels_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateLabelsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateLabelsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_recommendation_subscription_recommendation_subscription(customer_id, google_ads_searchads360_v23_services__mutate_recommendation_subscription_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionResponse

Parameters:

  • customer_id (String)

    Required. The ID of the subscribing customer.

  • google_ads_searchads360_v23_services__mutate_recommendation_subscription_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
# File 'lib/google/apis/searchads360_v23/service.rb', line 4893

def mutate_customer_recommendation_subscription_recommendation_subscription(customer_id, google_ads_searchads360_v23_services__mutate_recommendation_subscription_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/recommendationSubscriptions:mutateRecommendationSubscription', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_recommendation_subscription_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateRecommendationSubscriptionResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_remarketing_action(customer_id, google_ads_searchads360_v23_services__mutate_remarketing_actions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateRemarketingActionsResponse

Creates or updates remarketing actions. Operation statuses are returned. List of thrown errors: AuthenticationError AuthorizationError ConversionActionError HeaderError InternalError QuotaError RequestError

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose remarketing actions are being modified.

  • google_ads_searchads360_v23_services__mutate_remarketing_actions_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateRemarketingActionsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
# File 'lib/google/apis/searchads360_v23/service.rb', line 5035

def mutate_customer_remarketing_action(customer_id, google_ads_searchads360_v23_services__mutate_remarketing_actions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/remarketingActions:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateRemarketingActionsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_remarketing_actions_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateRemarketingActionsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateRemarketingActionsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_search_ads360(customer_id, google_ads_searchads360_v23_services__mutate_search_ads360_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateSearchAds360Response

This method is essentially a wrapper around a series of mutate methods. The only features it offers over calling those methods directly are: - Atomic transactions - Temp resource names (described below) - Somewhat reduced latency over making a series of mutate calls Note: Only resources that support atomic transactions are included, so this method can't replace all calls to individual services. ## Atomic Transaction Benefits Atomicity makes error handling much easier. If you're making a series of changes and one fails, it can leave your account in an inconsistent state. With atomicity, you either reach the chosen state directly, or the request fails and you can retry. ## Temp Resource Names Temp resource names are a special type of resource name used to create a resource and reference that resource in the same request. For example, if a is created with resource_name equal to , that resource name can be reused in the field in the same request. That way, the two resources are created and linked atomically. To create a temp resource name, put a negative number in the part of the name that the server would normally allocate. Note: - Resources must be created with a temp name before the name can be reused. For example, the previous example would fail if the mutate order was reversed. - Temp names are not remembered across requests. - There's no limit to the number of temp names in a request. - Each temp name must use a unique negative number, even if the resource types differ. ## Latency It's important to group mutates by resource type or the request may time out and fail. Latency is roughly equal to a series of calls to individual mutate methods, where each change in resource type is a new call. For example, mutating is like 2 calls, while mutating is like 4 calls. List of thrown errors: AdCustomizerError AdError AdGroupAdError AdGroupCriterionError AdGroupError AssetError AuthenticationError AuthorizationError BiddingError CampaignBudgetError CampaignCriterionError CampaignError CampaignExperimentError CampaignSharedSetError CollectionSizeError ContextError ConversionActionError CriterionError CustomerFeedError DatabaseError DateError DateRangeError DistinctError ExtensionFeedItemError ExtensionSettingError FeedAttributeReferenceError FeedError FeedItemError FeedItemSetError FieldError FieldMaskError FunctionParsingError HeaderError ImageError InternalError KeywordPlanAdGroupKeywordError KeywordPlanCampaignError KeywordPlanError LabelError ListOperationError MediaUploadError MutateError NewResourceCreationError NullError OperationAccessDeniedError PolicyFindingError PolicyViolationError QuotaError RangeError RequestError ResourceCountLimitExceededError SettingError SharedSetError SizeLimitError StringFormatError StringLengthError UrlFieldError UserListError YoutubeVideoRegistrationError

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose resources are being modified.

  • google_ads_searchads360_v23_services__mutate_search_ads360_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateSearchAds360Request) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
# File 'lib/google/apis/searchads360_v23/service.rb', line 5110

def mutate_customer_search_ads360(customer_id, google_ads_searchads360_v23_services__mutate_search_ads360_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/searchAds360:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateSearchAds360Request::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_search_ads360_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateSearchAds360Response::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateSearchAds360Response
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_search_ads360_campaign(customer_id, google_ads_searchads360_v23_services__mutate_search_ads360_campaigns_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignsResponse

Updates Search Ads 360 campaigns. Operation statuses are returned. List of thrown errors: AuthenticationError AuthorizationError HeaderError InternalError MutateError QuotaError RequestError

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose Search Ads 360 campaigns are being modified.

  • google_ads_searchads360_v23_services__mutate_search_ads360_campaigns_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
# File 'lib/google/apis/searchads360_v23/service.rb', line 5182

def mutate_customer_search_ads360_campaign(customer_id, google_ads_searchads360_v23_services__mutate_search_ads360_campaigns_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/searchAds360Campaigns:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_search_ads360_campaigns_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_shared_criterium(customer_id, google_ads_searchads360_v23_services__mutate_shared_criteria_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateSharedCriteriaResponse

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose shared criteria are being modified.

  • google_ads_searchads360_v23_services__mutate_shared_criteria_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateSharedCriteriaRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
# File 'lib/google/apis/searchads360_v23/service.rb', line 5221

def mutate_customer_shared_criterium(customer_id, google_ads_searchads360_v23_services__mutate_shared_criteria_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/sharedCriteria:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateSharedCriteriaRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_shared_criteria_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateSharedCriteriaResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateSharedCriteriaResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_shared_set(customer_id, google_ads_searchads360_v23_services__mutate_shared_sets_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateSharedSetsResponse

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose shared sets are being modified.

  • google_ads_searchads360_v23_services__mutate_shared_sets_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateSharedSetsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
# File 'lib/google/apis/searchads360_v23/service.rb', line 5261

def mutate_customer_shared_set(customer_id, google_ads_searchads360_v23_services__mutate_shared_sets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/sharedSets:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateSharedSetsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_shared_sets_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateSharedSetsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateSharedSetsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_smart_campaign_setting(customer_id, google_ads_searchads360_v23_services__mutate_smart_campaign_settings_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingsResponse

Updates Smart campaign settings for campaigns.

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose Smart campaign settings are being modified.

  • google_ads_searchads360_v23_services__mutate_smart_campaign_settings_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
# File 'lib/google/apis/searchads360_v23/service.rb', line 5326

def mutate_customer_smart_campaign_setting(customer_id, google_ads_searchads360_v23_services__mutate_smart_campaign_settings_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/smartCampaignSettings:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_smart_campaign_settings_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_user_list(customer_id, google_ads_searchads360_v23_services__mutate_user_lists_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateUserListsResponse

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose user lists are being modified.

  • google_ads_searchads360_v23_services__mutate_user_lists_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateUserListsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
# File 'lib/google/apis/searchads360_v23/service.rb', line 5438

def mutate_customer_user_list(customer_id, google_ads_searchads360_v23_services__mutate_user_lists_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/userLists:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateUserListsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_user_lists_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateUserListsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateUserListsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#mutate_customer_user_list_customer_type(customer_id, google_ads_searchads360_v23_services__mutate_user_list_customer_types_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateUserListCustomerTypesResponse

Attach or remove user list customer types. Operation statuses are returned. List of thrown errors: AuthenticationError AuthorizationError UserListCustomerTypeError HeaderError InternalError QuotaError RequestError

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose user list customer types are being modified.

  • google_ads_searchads360_v23_services__mutate_user_list_customer_types_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateUserListCustomerTypesRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
# File 'lib/google/apis/searchads360_v23/service.rb', line 5399

def mutate_customer_user_list_customer_type(customer_id, google_ads_searchads360_v23_services__mutate_user_list_customer_types_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/userListCustomerTypes:mutate', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateUserListCustomerTypesRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__mutate_user_list_customer_types_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateUserListCustomerTypesResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateUserListCustomerTypesResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#promote_customer_campaign_draft(campaign_draft, google_ads_searchads360_v23_services__promote_campaign_draft_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleLongrunningOperation

Promotes the changes in a draft back to the base campaign. This method returns a Long Running Operation (LRO) indicating if the Promote is done. Use google. longrunning.Operations.GetOperation to poll the LRO until it is done. Only a done status is returned in the response. See the status in the Campaign Draft resource to determine if the promotion was successful. If the LRO failed, use CampaignDraftService.ListCampaignDraftAsyncErrors to view the list of error reasons. List of thrown errors: AuthenticationError AuthorizationError CampaignDraftError HeaderError InternalError QuotaError RequestError

Parameters:

  • campaign_draft (String)

    Required. The resource name of the campaign draft to promote.

  • google_ads_searchads360_v23_services__promote_campaign_draft_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesPromoteCampaignDraftRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
# File 'lib/google/apis/searchads360_v23/service.rb', line 2734

def promote_customer_campaign_draft(campaign_draft, google_ads_searchads360_v23_services__promote_campaign_draft_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/{+campaignDraft}:promote', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesPromoteCampaignDraftRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__promote_campaign_draft_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleLongrunningOperation::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleLongrunningOperation
  command.params['campaignDraft'] = campaign_draft unless campaign_draft.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#promote_customer_experiment_experiment(resource_name, google_ads_searchads360_v23_services__promote_experiment_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleLongrunningOperation

Promotes the trial campaign thus applying changes in the trial campaign to the base campaign. This method returns a long running operation that tracks the promotion of the experiment campaign. If it fails, a list of errors can be retrieved using the ListExperimentAsyncErrors method. The operation's metadata will be a string containing the resource name of the created experiment. List of thrown errors: AuthenticationError AuthorizationError ExperimentError HeaderError InternalError QuotaError RequestError

Parameters:

  • resource_name (String)

    Required. The resource name of the experiment to promote.

  • google_ads_searchads360_v23_services__promote_experiment_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesPromoteExperimentRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
# File 'lib/google/apis/searchads360_v23/service.rb', line 4115

def promote_customer_experiment_experiment(resource_name, google_ads_searchads360_v23_services__promote_experiment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/{+resourceName}:promoteExperiment', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesPromoteExperimentRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__promote_experiment_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleLongrunningOperation::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleLongrunningOperation
  command.params['resourceName'] = resource_name unless resource_name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#provide_customer_local_services_lead_lead_feedback(resource_name, google_ads_searchads360_v23_services__provide_lead_feedback_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesProvideLeadFeedbackResponse

RPC to provide feedback on Local Services Lead resources.

Parameters:

  • resource_name (String)

    Required. The resource name of the local services lead that for which the feedback is being provided.

  • google_ads_searchads360_v23_services__provide_lead_feedback_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesProvideLeadFeedbackRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
# File 'lib/google/apis/searchads360_v23/service.rb', line 4544

def provide_customer_local_services_lead_lead_feedback(resource_name, google_ads_searchads360_v23_services__provide_lead_feedback_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/{+resourceName}:provideLeadFeedback', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesProvideLeadFeedbackRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__provide_lead_feedback_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesProvideLeadFeedbackResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesProvideLeadFeedbackResponse
  command.params['resourceName'] = resource_name unless resource_name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

Regenerate ThirdPartyAppAnalyticsLink.shareable_link_id that should be provided to the third party when setting up app analytics. List of thrown errors: AuthenticationError AuthorizationError HeaderError InternalError QuotaError RequestError

Parameters:

  • resource_name (String)

    Resource name of the third party app analytics link.

  • google_ads_searchads360_v23_services__regenerate_shareable_link_id_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesRegenerateShareableLinkIdRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
# File 'lib/google/apis/searchads360_v23/service.rb', line 5362

def regenerate_customer_third_party_app_analytics_link_shareable_link_id(resource_name, google_ads_searchads360_v23_services__regenerate_shareable_link_id_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/{+resourceName}:regenerateShareableLinkId', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesRegenerateShareableLinkIdRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__regenerate_shareable_link_id_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesRegenerateShareableLinkIdResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesRegenerateShareableLinkIdResponse
  command.params['resourceName'] = resource_name unless resource_name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#remove_customer_ad_group_ad_automatically_created_assets(ad_group_ad, google_ads_searchads360_v23_services__remove_automatically_created_assets_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleProtobufEmpty

Parameters:

  • ad_group_ad (String)

    Required. The resource name of the AdGroupAd from which to remove automatically created assets.

  • google_ads_searchads360_v23_services__remove_automatically_created_assets_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesRemoveAutomaticallyCreatedAssetsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
# File 'lib/google/apis/searchads360_v23/service.rb', line 1402

def remove_customer_ad_group_ad_automatically_created_assets(ad_group_ad, google_ads_searchads360_v23_services__remove_automatically_created_assets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/{+adGroupAd}:removeAutomaticallyCreatedAssets', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesRemoveAutomaticallyCreatedAssetsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__remove_automatically_created_assets_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleProtobufEmpty::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleProtobufEmpty
  command.params['adGroupAd'] = ad_group_ad unless ad_group_ad.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#remove_customer_campaign_automatically_created_asset(customer_id, google_ads_searchads360_v23_services__remove_campaign_automatically_created_asset_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetResponse

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose assets are being removed.

  • google_ads_searchads360_v23_services__remove_campaign_automatically_created_asset_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



683
684
685
686
687
688
689
690
691
692
693
# File 'lib/google/apis/searchads360_v23/service.rb', line 683

def remove_customer_campaign_automatically_created_asset(customer_id, google_ads_searchads360_v23_services__remove_campaign_automatically_created_asset_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}:removeCampaignAutomaticallyCreatedAsset', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__remove_campaign_automatically_created_asset_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesRemoveCampaignAutomaticallyCreatedAssetResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

Parameters:

  • customer_id (String)

    Required. The ID of the customer for which the data link is updated.

  • google_ads_searchads360_v23_services__remove_data_link_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesRemoveDataLinkRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
# File 'lib/google/apis/searchads360_v23/service.rb', line 3852

def remove_customer_data_link(customer_id, google_ads_searchads360_v23_services__remove_data_link_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/dataLinks:remove', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesRemoveDataLinkRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__remove_data_link_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesRemoveDataLinkResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesRemoveDataLinkResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

Parameters:

  • customer_id (String)

    Required. The ID of the customer being modified.

  • google_ads_searchads360_v23_services__remove_product_link_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesRemoveProductLinkRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
# File 'lib/google/apis/searchads360_v23/service.rb', line 4856

def remove_customer_product_link(customer_id, google_ads_searchads360_v23_services__remove_product_link_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/productLinks:remove', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesRemoveProductLinkRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__remove_product_link_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesRemoveProductLinkResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesRemoveProductLinkResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

Remove a product link invitation.

Parameters:

  • customer_id (String)

    Required. The ID of the product link invitation being removed.

  • google_ads_searchads360_v23_services__remove_product_link_invitation_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesRemoveProductLinkInvitationRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
# File 'lib/google/apis/searchads360_v23/service.rb', line 4753

def remove_customer_product_link_invitation(customer_id, google_ads_searchads360_v23_services__remove_product_link_invitation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/productLinkInvitations:remove', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesRemoveProductLinkInvitationRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__remove_product_link_invitation_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesRemoveProductLinkInvitationResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesRemoveProductLinkInvitationResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#run_customer_batch_job(resource_name, google_ads_searchads360_v23_services__run_batch_job_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleLongrunningOperation

Runs the batch job. The Operation.metadata field type is BatchJobMetadata. When finished, the long running operation will not contain errors or a response. Instead, use ListBatchJobResults to get the results of the job. List of thrown errors: AuthenticationError AuthorizationError BatchJobError HeaderError InternalError QuotaError RequestError

Parameters:

  • resource_name (String)

    Required. The resource name of the BatchJob to run.

  • google_ads_searchads360_v23_services__run_batch_job_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesRunBatchJobRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
# File 'lib/google/apis/searchads360_v23/service.rb', line 2212

def run_customer_batch_job(resource_name, google_ads_searchads360_v23_services__run_batch_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/{+resourceName}:run', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesRunBatchJobRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__run_batch_job_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleLongrunningOperation::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleLongrunningOperation
  command.params['resourceName'] = resource_name unless resource_name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#run_customer_offline_user_data_job(resource_name, google_ads_searchads360_v23_services__run_offline_user_data_job_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleLongrunningOperation

Runs the offline user data job. When finished, the long running operation will contain the processing result or failure information, if any. List of thrown errors: AuthenticationError AuthorizationError DatabaseError HeaderError InternalError OfflineUserDataJobError QuotaError RequestError

Parameters:

  • resource_name (String)

    Required. The resource name of the OfflineUserDataJob to run.

  • google_ads_searchads360_v23_services__run_offline_user_data_job_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesRunOfflineUserDataJobRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
# File 'lib/google/apis/searchads360_v23/service.rb', line 4653

def run_customer_offline_user_data_job(resource_name, google_ads_searchads360_v23_services__run_offline_user_data_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/{+resourceName}:run', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesRunOfflineUserDataJobRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__run_offline_user_data_job_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleLongrunningOperation::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleLongrunningOperation
  command.params['resourceName'] = resource_name unless resource_name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#schedule_customer_experiment_experiment(resource_name, google_ads_searchads360_v23_services__schedule_experiment_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleLongrunningOperation

Schedule an experiment. The in design campaign will be converted into a real campaign (called the experiment campaign) that will begin serving ads if successfully created. The experiment is scheduled immediately with status INITIALIZING. This method returns a long running operation that tracks the forking of the in design campaign. If the forking fails, a list of errors can be retrieved using the ListExperimentAsyncErrors method. The operation's metadata will be a string containing the resource name of the created experiment. List of thrown errors: AuthenticationError AuthorizationError ExperimentError DatabaseError DateError DateRangeError FieldError HeaderError InternalError QuotaError RangeError RequestError

Parameters:

  • resource_name (String)

    Required. The scheduled experiment.

  • google_ads_searchads360_v23_services__schedule_experiment_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesScheduleExperimentRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
# File 'lib/google/apis/searchads360_v23/service.rb', line 4158

def schedule_customer_experiment_experiment(resource_name, google_ads_searchads360_v23_services__schedule_experiment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/{+resourceName}:scheduleExperiment', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesScheduleExperimentRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__schedule_experiment_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleLongrunningOperation::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleLongrunningOperation
  command.params['resourceName'] = resource_name unless resource_name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#search_customer_audience_insights_attributes(customer_id, google_ads_searchads360_v23_services__list_audience_insights_attributes_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListAudienceInsightsAttributesResponse

Searches for audience attributes that can be used to generate insights. List of thrown errors: AuthenticationError AuthorizationError FieldError HeaderError InternalError QuotaError RangeError RequestError

Parameters:

  • customer_id (String)

    Required. The ID of the customer.

  • google_ads_searchads360_v23_services__list_audience_insights_attributes_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListAudienceInsightsAttributesRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



719
720
721
722
723
724
725
726
727
728
729
# File 'lib/google/apis/searchads360_v23/service.rb', line 719

def search_customer_audience_insights_attributes(customer_id, google_ads_searchads360_v23_services__list_audience_insights_attributes_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}:searchAudienceInsightsAttributes', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListAudienceInsightsAttributesRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__list_audience_insights_attributes_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListAudienceInsightsAttributesResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListAudienceInsightsAttributesResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#search_customer_search_ads360s(customer_id, google_ads_searchads360_v23_services__search_search_ads360_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSearchSearchAds360Response

Parameters:

  • customer_id (String)

    Required. The ID of the customer being queried.

  • google_ads_searchads360_v23_services__search_search_ads360_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSearchSearchAds360Request) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
# File 'lib/google/apis/searchads360_v23/service.rb', line 5146

def search_customer_search_ads360s(customer_id, google_ads_searchads360_v23_services__search_search_ads360_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/searchAds360:search', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSearchSearchAds360Request::Representation
  command.request_object = google_ads_searchads360_v23_services__search_search_ads360_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSearchSearchAds360Response::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSearchSearchAds360Response
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#search_search_ads360_fields(google_ads_searchads360_v23_services__search_search_ads360_fields_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSearchSearchAds360FieldsResponse

Returns all fields that match the search query. List of thrown errors: AuthenticationError AuthorizationError HeaderError InternalError QueryError QuotaError RequestError

Parameters:

  • google_ads_searchads360_v23_services__search_search_ads360_fields_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSearchSearchAds360FieldsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
# File 'lib/google/apis/searchads360_v23/service.rb', line 5614

def search_search_ads360_fields(google_ads_searchads360_v23_services__search_search_ads360_fields_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/searchAds360Fields:search', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSearchSearchAds360FieldsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__search_search_ads360_fields_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSearchSearchAds360FieldsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSearchSearchAds360FieldsResponse
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#start_customer_identity_verification(customer_id, google_ads_searchads360_v23_services__start_identity_verification_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleProtobufEmpty

Starts Identity Verification for a given verification program type. Statuses are returned. List of thrown errors: AuthenticationError AuthorizationError HeaderError InternalError QuotaError RequestError

Parameters:

  • customer_id (String)

    Required. The Id of the customer for whom we are creating this verification.

  • google_ads_searchads360_v23_services__start_identity_verification_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesStartIdentityVerificationRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



755
756
757
758
759
760
761
762
763
764
765
# File 'lib/google/apis/searchads360_v23/service.rb', line 755

def start_customer_identity_verification(customer_id, google_ads_searchads360_v23_services__start_identity_verification_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}:startIdentityVerification', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesStartIdentityVerificationRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__start_identity_verification_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleProtobufEmpty::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleProtobufEmpty
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#suggest_customer_keyword_themes(customer_id, google_ads_searchads360_v23_services__suggest_keyword_themes_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSuggestKeywordThemesResponse

Suggests keyword themes to advertise on.

Parameters:

  • customer_id (String)

    Required. The ID of the customer.

  • google_ads_searchads360_v23_services__suggest_keyword_themes_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSuggestKeywordThemesRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



788
789
790
791
792
793
794
795
796
797
798
# File 'lib/google/apis/searchads360_v23/service.rb', line 788

def suggest_customer_keyword_themes(customer_id, google_ads_searchads360_v23_services__suggest_keyword_themes_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}:suggestKeywordThemes', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSuggestKeywordThemesRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__suggest_keyword_themes_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSuggestKeywordThemesResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSuggestKeywordThemesResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#suggest_customer_smart_campaign_ad(customer_id, google_ads_searchads360_v23_services__suggest_smart_campaign_ad_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSuggestSmartCampaignAdResponse

Suggests a Smart campaign ad compatible with the Ad family of resources, based on data points such as targeting and the business to advertise.

Parameters:

  • customer_id (String)

    Required. The ID of the customer.

  • google_ads_searchads360_v23_services__suggest_smart_campaign_ad_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSuggestSmartCampaignAdRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



822
823
824
825
826
827
828
829
830
831
832
# File 'lib/google/apis/searchads360_v23/service.rb', line 822

def suggest_customer_smart_campaign_ad(customer_id, google_ads_searchads360_v23_services__suggest_smart_campaign_ad_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}:suggestSmartCampaignAd', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSuggestSmartCampaignAdRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__suggest_smart_campaign_ad_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSuggestSmartCampaignAdResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSuggestSmartCampaignAdResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#suggest_customer_smart_campaign_budget_options(customer_id, google_ads_searchads360_v23_services__suggest_smart_campaign_budget_options_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponse

Returns BudgetOption suggestions.

Parameters:

  • customer_id (String)

    Required. The ID of the customer whose budget options are to be suggested.

  • google_ads_searchads360_v23_services__suggest_smart_campaign_budget_options_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



855
856
857
858
859
860
861
862
863
864
865
# File 'lib/google/apis/searchads360_v23/service.rb', line 855

def suggest_customer_smart_campaign_budget_options(customer_id, google_ads_searchads360_v23_services__suggest_smart_campaign_budget_options_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}:suggestSmartCampaignBudgetOptions', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__suggest_smart_campaign_budget_options_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSuggestSmartCampaignBudgetOptionsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#suggest_customer_travel_assets(customer_id, google_ads_searchads360_v23_services__suggest_travel_assets_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSuggestTravelAssetsResponse

Returns Travel Asset suggestions. Asset suggestions are returned on a best- effort basis. There are no guarantees that all possible asset types will be returned for any given hotel property.

Parameters:

  • customer_id (String)

    Required. The ID of the customer.

  • google_ads_searchads360_v23_services__suggest_travel_assets_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSuggestTravelAssetsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



890
891
892
893
894
895
896
897
898
899
900
# File 'lib/google/apis/searchads360_v23/service.rb', line 890

def suggest_customer_travel_assets(customer_id, google_ads_searchads360_v23_services__suggest_travel_assets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}:suggestTravelAssets', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSuggestTravelAssetsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__suggest_travel_assets_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSuggestTravelAssetsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSuggestTravelAssetsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#suggest_geo_target_constant(google_ads_searchads360_v23_services__suggest_geo_target_constants_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsResponse

Returns GeoTargetConstant suggestions by location name or by resource name. List of thrown errors: AuthenticationError AuthorizationError GeoTargetConstantSuggestionError HeaderError InternalError QuotaError RequestError

Parameters:

  • google_ads_searchads360_v23_services__suggest_geo_target_constants_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
# File 'lib/google/apis/searchads360_v23/service.rb', line 5472

def suggest_geo_target_constant(google_ads_searchads360_v23_services__suggest_geo_target_constants_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/geoTargetConstants:suggest', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__suggest_geo_target_constants_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSuggestGeoTargetConstantsResponse
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#suggest_keyword_theme_constant(google_ads_searchads360_v23_services__suggest_keyword_theme_constants_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSuggestKeywordThemeConstantsResponse

Returns KeywordThemeConstant suggestions by keyword themes. List of thrown errors: AuthenticationError AuthorizationError HeaderError InternalError QuotaError RequestError

Parameters:

  • google_ads_searchads360_v23_services__suggest_keyword_theme_constants_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSuggestKeywordThemeConstantsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
# File 'lib/google/apis/searchads360_v23/service.rb', line 5549

def suggest_keyword_theme_constant(google_ads_searchads360_v23_services__suggest_keyword_theme_constants_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/keywordThemeConstants:suggest', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSuggestKeywordThemeConstantsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__suggest_keyword_theme_constants_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSuggestKeywordThemeConstantsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSuggestKeywordThemeConstantsResponse
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

Parameters:

  • customer_id (String)

    Required. The ID of the customer for which the data link is created.

  • google_ads_searchads360_v23_services__update_data_link_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesUpdateDataLinkRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
# File 'lib/google/apis/searchads360_v23/service.rb', line 3888

def update_customer_data_link(customer_id, google_ads_searchads360_v23_services__update_data_link_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/dataLinks:update', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesUpdateDataLinkRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__update_data_link_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesUpdateDataLinkResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesUpdateDataLinkResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

Update a product link invitation.

Parameters:

  • customer_id (String)

    Required. The ID of the customer being modified.

  • google_ads_searchads360_v23_services__update_product_link_invitation_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesUpdateProductLinkInvitationRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
# File 'lib/google/apis/searchads360_v23/service.rb', line 4786

def update_customer_product_link_invitation(customer_id, google_ads_searchads360_v23_services__update_product_link_invitation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}/productLinkInvitations:update', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesUpdateProductLinkInvitationRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__update_product_link_invitation_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesUpdateProductLinkInvitationResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesUpdateProductLinkInvitationResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#upload_customer_call_conversions(customer_id, google_ads_searchads360_v23_services__upload_call_conversions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesUploadCallConversionsResponse

Parameters:

  • customer_id (String)

    Required. The ID of the customer performing the upload.

  • google_ads_searchads360_v23_services__upload_call_conversions_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesUploadCallConversionsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



925
926
927
928
929
930
931
932
933
934
935
# File 'lib/google/apis/searchads360_v23/service.rb', line 925

def upload_customer_call_conversions(customer_id, google_ads_searchads360_v23_services__upload_call_conversions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}:uploadCallConversions', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesUploadCallConversionsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__upload_call_conversions_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesUploadCallConversionsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesUploadCallConversionsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#upload_customer_click_conversions(customer_id, google_ads_searchads360_v23_services__upload_click_conversions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesUploadClickConversionsResponse

Parameters:

  • customer_id (String)

    Required. The ID of the customer performing the upload.

  • google_ads_searchads360_v23_services__upload_click_conversions_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesUploadClickConversionsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



961
962
963
964
965
966
967
968
969
970
971
# File 'lib/google/apis/searchads360_v23/service.rb', line 961

def upload_customer_click_conversions(customer_id, google_ads_searchads360_v23_services__upload_click_conversions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}:uploadClickConversions', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesUploadClickConversionsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__upload_click_conversions_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesUploadClickConversionsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesUploadClickConversionsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#upload_customer_conversion_adjustments(customer_id, google_ads_searchads360_v23_services__upload_conversion_adjustments_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesUploadConversionAdjustmentsResponse

Processes the given conversion adjustments. List of thrown errors: AuthenticationError AuthorizationError HeaderError InternalError PartialFailureError QuotaError RequestError

Parameters:

  • customer_id (String)

    Required. The ID of the customer performing the upload.

  • google_ads_searchads360_v23_services__upload_conversion_adjustments_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesUploadConversionAdjustmentsRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



996
997
998
999
1000
1001
1002
1003
1004
1005
1006
# File 'lib/google/apis/searchads360_v23/service.rb', line 996

def upload_customer_conversion_adjustments(customer_id, google_ads_searchads360_v23_services__upload_conversion_adjustments_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}:uploadConversionAdjustments', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesUploadConversionAdjustmentsRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__upload_conversion_adjustments_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesUploadConversionAdjustmentsResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesUploadConversionAdjustmentsResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#upload_customer_user_data(customer_id, google_ads_searchads360_v23_services__upload_user_data_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesUploadUserDataResponse

Parameters:

  • customer_id (String)

    Required. The ID of the customer for which to update the user data.

  • google_ads_searchads360_v23_services__upload_user_data_request_object (Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesUploadUserDataRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
# File 'lib/google/apis/searchads360_v23/service.rb', line 1032

def upload_customer_user_data(customer_id, google_ads_searchads360_v23_services__upload_user_data_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v23/customers/{+customerId}:uploadUserData', options)
  command.request_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesUploadUserDataRequest::Representation
  command.request_object = google_ads_searchads360_v23_services__upload_user_data_request_object
  command.response_representation = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesUploadUserDataResponse::Representation
  command.response_class = Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesUploadUserDataResponse
  command.params['customerId'] = customer_id unless customer_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end