Hi guys,
Client is trying to remove some user inside one of their user list, but
they have been not able to delete it and keep getting timeout error.
They have the below questions:
1. What is the difference between UserDataService
and OfflineUserDataJobService?
2. Is it possible to remove all users from an audience list and replace it
with another new set of device id list? If so, how should they proceed with
the api?
3. If it is not possible, could they remove only part of the user from the
original user list and add some new users? If should they proceed with the
API?
I attched the logs below, please take a look, thank you!
Bests,
Anqi
*They were using the below request to remove resource:*
private AddOfflineUserDataJobOperationsRequest *buildRemoveAllRequest*(String
resourceName) {
// Issues a request to add the operations to the offline user data job.
return AddOfflineUserDataJobOperationsRequest.newBuilder()
.setResourceName(resourceName)
.addOperations(OfflineUserDataJobOperation.newBuilder().
*setRemoveAll*(true))
.build();
}
*Using this to track the timeouts*
OperationFuture<Empty, Empty> future =
serviceClient.runOfflineUserDataJobAsync(resourceName);
future.get(600L, TimeUnit.SECONDS);
*The Log they have with the timeouts:*
[2021-09-07 08:50:36.078] [Gax-1] INFO =>
c.g.a.g.l.r.summary.logAtLevel(RequestLogger.java:157) - SUCCESS REQUEST
SUMMARY. Method:
google.ads.googleads.v8.services.OfflineUserDataJobService/CreateOfflineUserDataJob,
Endpoint: googleads.googleapis.com:443, CustomerID: xxx RequestID: xxx,
ResponseCode: OK, Fault: null.
[2021-09-07 08:50:36.082] [main] INFO =>
c.r.d.a.a.UserDataServiceClientProxy.getResourceName(UserDataServiceClientProxy.java:130)
- Created an offline user data job with resource name:
customers/3643036574/offlineUserDataJobs/11912981839
[2021-09-07 08:50:36.361] [Gax-5] INFO =>
c.g.a.g.l.r.summary.logAtLevel(RequestLogger.java:157) - SUCCESS REQUEST
SUMMARY. Method:
google.ads.googleads.v8.services.OfflineUserDataJobService/AddOfflineUserDataJobOperations,
Endpoint: googleads.googleapis.com:443, CustomerID:
customers/3643036574/offlineUserDataJobs/11912981839, RequestID:
DKS-SrSlz_zBCMiBEJkvtw, ResponseCode: OK, Fault: null.
[2021-09-07 08:50:36.362] [main] INFO =>
c.r.d.a.a.UserDataServiceClientProxy.addRequest(UserDataServiceClientProxy.java:137)
- Successfully added removeAll operations to the offline user data job.
[2021-09-07 08:50:36.363] [main] INFO =>
c.r.d.a.a.UserDataServiceClientProxy.addRequest(UserDataServiceClientProxy.java:149)
- Successfully added 1 operations to the offline user data job.
[2021-09-07 08:50:37.107] [Gax-6] INFO =>
c.g.a.g.l.r.summary.logAtLevel(RequestLogger.java:157) - SUCCESS REQUEST
SUMMARY. Method:
google.ads.googleads.v8.services.OfflineUserDataJobService/RunOfflineUserDataJob,
Endpoint: googleads.googleapis.com:443, CustomerID: cxxx ResponseCode: OK,
Fault: null.
[2021-09-07 08:51:22.805] [Gax-14] INFO =>
c.g.a.g.l.r.summary.logAtLevel(RequestLogger.java:157) - SUCCESS REQUEST
SUMMARY. Method: google.longrunning.Operations/GetOperation, Endpoint:
googleads.googleapis.com:443, CustomerID: null, RequestID: xx,
ResponseCode: OK, Fault: null.
ApiFutureToListenableFuture@x],
function=[com.google.api.core.ApiFutures$GaxFunctionToGuavaFunction@x]]]
at
com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:508)
at
com.google.common.util.concurrent.FluentFuture$TrustedFuture.get(FluentFuture.java:93)
at
com.google.common.util.concurrent.ForwardingFuture.get(ForwardingFuture.java:68)
at
com.google.api.gax.longrunning.OperationFutureImpl.get(OperationFutureImpl.java:133)
at
com.rcplatform.data.app.ace.UserDataServiceClientProxy.execute(UserDataServiceClientProxy.java:159)
at
com.rcplatform.data.app.ace.UserDataServiceClientProxy.removeExist(UserDataServiceClientProxy.java:63)
at
com.rcplatform.data.app.ace.DataPushToGoogle.pushDataToGoogle(DataPushToGoogle.java:42)
at
com.rcplatform.data.app.ace.DataPushToGoogle.run(DataPushToGoogle.java:129)
at
com.rcplatform.data.app.ace.DataPushToGoogle.main(DataPushToGoogle.java:165)
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f8c11bb3-d705-41f6-8a31-a1aec390e6cfn%40googlegroups.com.