google-ads-api icon indicating copy to clipboard operation
google-ads-api copied to clipboard

Can't create ad_group_ad_critetion with age and gender at the same time

Open khangho2511 opened this issue 1 year ago • 0 comments

I have operation like this: {"entity":"ad_group_criterion","operation":"create","resource":{"ad_group":"customers/123/adGroups/123","type":10,"age_range":{"type":"AGE_RANGE_55_64"},"gender":{"type":"MALE"}}}]

But the response just does not include the age range: {"mutate_operation_responses":[{"ad_group_criterion_result":{"resource_name":"customers/1248315497/adGroupCriteria/155101507154~10","ad_group_criterion":{"url_custom_parameters":[],"disapproval_reasons":[],"labels":[],"final_urls":[],"final_mobile_urls":[],"resource_name":"customers/1248315497/adGroupCriteria/155101507154~10","status":"ENABLED","quality_info":null,"position_estimates":null,"effective_cpc_bid_source":"UNSPECIFIED","effective_cpm_bid_source":"UNSPECIFIED","effective_cpv_bid_source":"UNSPECIFIED","type":"UNSPECIFIED","effective_percent_cpc_bid_source":"UNSPECIFIED","system_serving_status":"UNSPECIFIED","approval_status":"UNSPECIFIED","display_name":"","gender":{"type":"MALE"},"criterion":"gender","criterion_id":"10","_criterion_id":"criterion_id","ad_group":"customers/1248315497/adGroups/155101507154","_ad_group":"ad_group","negative":false,"_negative":"negative"}},"response":"ad_group_criterion_result"}],"partial_failure_error":null}

Any update from gg right? Before it was still ok.

khangho2511 avatar Aug 06 '23 08:08 khangho2511