Hello, Greetings from the Google Ads API Team.
I just want you to know that I am going to remove your recent post in this thread because it contains private information which is not allowed to be posted in this forum for security purposes. For the reference, you may refer below without sensitive information: “Hi , My requiement is : I need an audience list that include all historical customers(active/inactive) without any exclusions. I need another audience list that excludes test/removed/cancelled/inactive customers. So to achieve this requirement i thought creating an offline user data job as a solution. Please clarify if my thought process is in right direction. If not could you please suggest correct method to achieve this. Thank you! Can you please trace out the error with below request id? Request URI:https://googleads.googleapis.com/v14/customers/xxxxxxxxxx/offlineUserDataJobs:create Request: { "customerMatchUserListMetadata" : { "userList" : "customers/XXXXXX/userLists/XXXXXX" }, "operations" : [ { "create" : { "userIdentifiers" : [ { "hashedEmail" : "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" }, { "hashedPhoneNumber" : "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" }, { "addressInfo" : { "hashedFirstName" : "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "hashedLastName" : "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "countryCode" : "XX", "postalCode" : "XXXX" } } ] } } ] } Response Body : { "error": { "code": 400, "message": "Request contains an invalid argument.", "status": "INVALID_ARGUMENT", "details": [ { "@type": "type.googleapis.com/google.ads.googleads.v14.errors.GoogleAdsFailure", "errors": [ { "errorCode": { "fieldError": "REQUIRED" }, "message": "The required field was not present.", "location": { "fieldPathElements": [ { "fieldName": "job" }, { "fieldName": "type" } ] } } ], "requestId": "Ec9QK9NOpGxJ8Q7Ec0BKWQ" } ] } } Please help me in creating offline userdata job. Thanks in Advance!” Upon checking your provided logs, I can see that you are using the offlineUserDataJobs.create method, but upon closer inspection the request body appears to be from the offlineUserDataJobs.addOperations method. Please note that, when creating an OfflineUserDataJob, please refer to API documentation for offlineUserDataJobs.create for a reference on the request body for this operation. offlineUserDataJobs.create - https://developers.google.com/google-ads/api/rest/reference/rest/v14/customers.offlineUserDataJobs/create offlineUserDataJobs.addOperations - https://developers.google.com/google-ads/api/rest/reference/rest/v14/customers.offlineUserDataJobs/addOperations Can you please provide us with an uncropped screenshot of the Google Ads UI with regards to the statements below: I need an audience list that include all historical customers(active/inactive) without any exclusions. I need another audience list that excludes test/removed/cancelled/inactive customers. You can provide it via Reply privately to the author option. If this option is not available, then send it instead on this email address googleadsapi-supp...@google.com This message is in relation to case "ref:_00D1U1174p._5004Q2ntlED:ref" Thanks, Google Ads API Team -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/DNb5O000000000000000000000000000000000000000000000RZLH0C0025WvqQG0R9WJu4fMDe8LXw%40sfdc.net.