Hi,
I am using the latest google-ads
<https://pypi.org/project/google-ads/8.0.0/> library (version 8.0.0) and
latest Google Ads Client (version 6)
Via mention library I am able to pause *Search* campaign successfully.
Response from API:
===============================================================
google.ads.google_ads.client:Request made: ClientCustomerId: *******, Host:
googleads.googleapis.com:443, Method:
/google.ads.googleads.v6.services.CampaignService/MutateCampaigns,
RequestId: 2hwP3UkqoEAmUWSU41ZjJg, IsFault: False, FaultMessage: None
=======================================================
When I am trying to pause *Video* campaign then I am receiving an error
message :
===============================================================
google.ads.google_ads.errors.GoogleAdsException: (<_InactiveRpcError of RPC
that terminated with:
status = StatusCode.INVALID_ARGUMENT
details = "Request contains an invalid argument."
debug_error_string =
"{"created":"@1606127972.008478330","description":"Error received from peer
ipv4:172.217.20.202:443","file":"src/core/lib/surface/call.cc","file_line":1061,"grpc_message":"Request
contains an invalid argument.","grpc_status":3}"
>, <_InactiveRpcError of RPC that terminated with:
status = StatusCode.INVALID_ARGUMENT
details = "Request contains an invalid argument."
debug_error_string =
"{"created":"@1606127972.008478330","description":"Error received from peer
ipv4:172.217.20.202:443","file":"src/core/lib/surface/call.cc","file_line":1061,"grpc_message":"Request
contains an invalid argument.","grpc_status":3}"
>, errors {
error_code { operation_access_denied_error:
MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT
}
message: "A mutate action is not allowed on this campaign, from this
client."
trigger { string_value: "VIDEO" }
location { field_path_elements { field_name: "operations" index: 0 }}}
errors { error_code { request_error: UNKNOWN} message: "The error code is
not in this version."
location {field_path_elements { field_name: "operations" index: 0 } }},
'-5DY3PjMQ8VrolxE9mg1cA')
===============================================================
Due to the limitation of Google Ads API
<https://developers.google.com/google-ads/api/fields/v6/overview>we are not
able to pause Video campaigns
For pausing video campaigns we are using Google Ads Script
<https://developers.google.com/google-ads/scripts/docs/features/mcc> , but
this *Video* campaign we are* not* able to pause via Google Ads Script
too. We are receiving an error :
*You can't make changes because the campaign was set to read-only*
*Questions:*
1. Is it possible to know that this campaign was set to read-only via Google
Ads API <https://developers.google.com/google-ads/api/fields/v6/overview> ?
In this case, we will not try to pause it via Google Ads Script
<https://developers.google.com/google-ads/scripts/docs/features/mcc>
2. What it is mean that this campaign was set to read-only?
3. This *Video* campaign not possible to pause via Google Ads API
<https://developers.google.com/google-ads/api/fields/v6/overview> and
via Google Ads Script
<https://developers.google.com/google-ads/scripts/docs/features/mcc> .
How we can pause it via API?
I will send additional information about the account and campaign id
privately.
Br,
Nazar
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/cad92890-2fc6-401b-ac3b-455d6a6b9745n%40googlegroups.com.