Hello, I encountered an internal error when creating app campaign with
advertising_channel_sub_type
<https://developers.google.com/google-ads/api/reference/rpc/v10/Campaign#advertising_channel_sub_type>
=
APP_CAMPAIGN_FOR_PRE_REGISTRATION
<https://developers.google.com/google-ads/api/reference/rpc/v10/AdvertisingChannelSubTypeEnum.AdvertisingChannelSubType#app_campaign_for_pre_registration>
.
detail error info see error.txt.
I use python sdk, and the env is:
google 3.0.0
google-ads 15.1.1
google-api-core 2.7.2
google-auth 1.35.0
google-auth-oauthlib 0.5.1
googleads 31.0.0
googleapis-common-protos 1.56.0
any help is appreciated.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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
"Google Ads API and AdWords 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/549ce6a2-4e74-4099-94d0-05d5767b9958n%40googlegroups.com.
Request made: ClientCustomerId: 3948203731, Host: googleads.googleapis.com,
Method: /google.ads.googleads.v8.services.CampaignService/MutateCampaigns,
RequestId: vWmWIENXkCuaOWrxQg0XKQ, IsFault: True, FaultMessage: Internal error
encountered.
[2022-04-15 17:44:10,805] ERROR in app: Exception on
/api/campaign/create_campaign [POST]
Traceback (most recent call last):
File
"/root/anaconda3/lib/python3.9/site-packages/google/api_core/grpc_helpers.py",
line 57, in error_remapped_callable
return callable_(*args, **kwargs)
File "/root/anaconda3/lib/python3.9/site-packages/grpc/_interceptor.py", line
216, in __call__
response, ignored_call = self._with_call(request,
File "/root/anaconda3/lib/python3.9/site-packages/grpc/_interceptor.py", line
257, in _with_call
return call.result(), call
File "/root/anaconda3/lib/python3.9/site-packages/grpc/_channel.py", line
343, in result
raise self
File "/root/anaconda3/lib/python3.9/site-packages/grpc/_interceptor.py", line
241, in continuation
response, call = self._thunk(new_method).with_call(
File "/root/anaconda3/lib/python3.9/site-packages/grpc/_interceptor.py", line
266, in with_call
return self._with_call(request,
File "/root/anaconda3/lib/python3.9/site-packages/grpc/_interceptor.py", line
257, in _with_call
return call.result(), call
File "/root/anaconda3/lib/python3.9/site-packages/grpc/_channel.py", line
343, in result
raise self
File "/root/anaconda3/lib/python3.9/site-packages/grpc/_interceptor.py", line
241, in continuation
response, call = self._thunk(new_method).with_call(
File "/root/anaconda3/lib/python3.9/site-packages/grpc/_interceptor.py", line
266, in with_call
return self._with_call(request,
File "/root/anaconda3/lib/python3.9/site-packages/grpc/_interceptor.py", line
254, in _with_call
call = self._interceptor.intercept_unary_unary(continuation,
File
"/root/anaconda3/lib/python3.9/site-packages/google/ads/googleads/interceptors/exception_interceptor.py",
line 99, in intercept_unary_unary
self._handle_grpc_failure(response)
File
"/root/anaconda3/lib/python3.9/site-packages/google/ads/googleads/interceptors/exception_interceptor.py",
line 71, in _handle_grpc_failure
raise self._get_error_from_response(response)
File "/root/anaconda3/lib/python3.9/site-packages/grpc/_interceptor.py", line
241, in continuation
response, call = self._thunk(new_method).with_call(
File "/root/anaconda3/lib/python3.9/site-packages/grpc/_channel.py", line
957, in with_call
return _end_unary_response_blocking(state, call, True, None)
File "/root/anaconda3/lib/python3.9/site-packages/grpc/_channel.py", line
849, in _end_unary_response_blocking
raise _InactiveRpcError(state)
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.INTERNAL
details = "Internal error encountered."
debug_error_string =
"{"created":"@1650015850.804101276","description":"Error received from peer
ipv4:172.217.25.10:443","file":"src/core/lib/surface/call.cc","file_line":905,"grpc_message":"Internal
error encountered.","grpc_status":13}"
>
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/root/anaconda3/lib/python3.9/site-packages/flask/app.py", line 2447,
in wsgi_app
response = self.full_dispatch_request()
File "/root/anaconda3/lib/python3.9/site-packages/flask/app.py", line 1952,
in full_dispatch_request
rv = self.handle_user_exception(e)
File "/root/anaconda3/lib/python3.9/site-packages/flask/app.py", line 1821,
in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/root/anaconda3/lib/python3.9/site-packages/flask/_compat.py", line 39,
in reraise
raise value
File "/root/anaconda3/lib/python3.9/site-packages/flask/app.py", line 1950,
in full_dispatch_request
rv = self.dispatch_request()
File "/root/anaconda3/lib/python3.9/site-packages/flask/app.py", line 1936,
in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/data/develop/aix/td/google/api/campaign.py", line 65, in
create_campaign
resource_name = campaign.create_campaign(googleads_client, customer_id,
info)
File "/data/develop/aix/td/google/sdk/campaign.py", line 157, in
create_campaign
campaign_response = campaign_service.mutate_campaigns(
File
"/root/anaconda3/lib/python3.9/site-packages/google/ads/googleads/v8/services/services/campaign_service/client.py",
line 625, in mutate_campaigns
response = rpc(
File
"/root/anaconda3/lib/python3.9/site-packages/google/api_core/gapic_v1/method.py",
line 154, in __call__
return wrapped_func(*args, **kwargs)
File
"/root/anaconda3/lib/python3.9/site-packages/google/api_core/grpc_helpers.py",
line 59, in error_remapped_callable
raise exceptions.from_grpc_error(exc) from exc
google.api_core.exceptions.InternalServerError: 500 Internal error encountered.
[type_url: "type.googleapis.com/google.ads.googleads.v8.errors.GoogleAdsFailure"
value: "\022\026vWmWIENXkCuaOWrxQg0XKQ"