Hi There!

I have got an error when tried to creating a new Group criteria, here is 
the log detail.

Method Name: 
/google.ads.googleads.v4.services.AdGroupCriterionService/MutateAdGroupCriteria
Host: googleads.googleapis.com
Headers: {
    "x-goog-api-client": "gl-php\/7.4.3 gapic\/ gax\/1.3.1 grpc\/1.31.1",
    "x-goog-request-params": "customer_id=2519239778",
    "developer-token": "REDACTED",
    "login-customer-id": "2519239778"
}
Request: 
{"customerId":"2519239778","operations":[{"create":{"resourceName":"customers\/2519239778\/adGroupCriteria\/113833595030~-1","status":"ENABLED","listingGroup":{"type":"SUBDIVISION"}}},{"create":{"status":"ENABLED","adGroup":"customers\/2519239778\/adGroups\/113833595030","listingGroup":{"type":"UNIT","caseValue":{"productType":{"value":"quilt","level":"LEVEL1"}},"parentAdGroupCriterion":"customers\/2519239778\/adGroupCriteria\/113833595030~-1"}}},{"create":{"status":"ENABLED","adGroup":"customers\/2519239778\/adGroups\/113833595030","listingGroup":{"type":"UNIT","caseValue":{"productType":{}},"parentAdGroupCriterion":"customers\/2519239778\/adGroupCriteria\/113833595030~-1"}}}]}

Response
-------
Headers: {
    "request-id": "e4fkq2epbtF8LC0ykFgiMw",
    "date": "Fri, 25 Sep 2020 10:08:18 GMT",
    "alt-svc": "h3-Q050=\":443\"; ma=2592000,h3-29=\":443\"; 
ma=2592000,h3-27=\":443\"; ma=2592000,h3-T051=\":443\"; 
ma=2592000,h3-T050=\":443\"; ma=2592000,h3-Q046=\":443\"; 
ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; 
v=\"46,43\""
}

Fault
-------
Status code: 3
Details: Request contains an invalid argument.
Failure: {"errors":[{"errorCode":{"fieldError":"REQUIRED"},"message":"The 
required field was not 
present.","trigger":{"stringValue":""},"location":{"fieldPathElements":[{"fieldName":"operations","index":"2"},{"fieldName":"create"},{"fieldName":"listing_group"},{"fieldName":"case_value"},{"fieldName":"product_type"},{"fieldName":"level"}]}}]}

Plz help me to fix it.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d843062c-5f0f-409d-97ab-82c3f16a0684n%40googlegroups.com.

Reply via email to