Google Ads Criteria

57 views
Skip to first unread message

Maxime Heurtevent

unread,
Oct 29, 2023, 8:49:57 PM10/29/23
to Google Ads API and AdWords API Forum
Hi, according to the REST documentation i can create Campaign or AdGroup Criteria using a request such as the following

curl -X POST \
    -H "Authorization: Bearer {ACCESS_TOKEN}" \
    -H "developer-token: {DEV_TOKEN}" \
    -H "login-customer-id: {MANAGER_ID}" \
    -H "Content-Type: application/json" \
    "https://googleads.googleapis.com/v15/customers/{CUSTOMER_ID}/adGroupCriteria:mutate" \
    -d '{
        "operations": [
            {
                "create": {
                    "negative": false,
                    "adGroup": "customers/{CUSTOMER_ID}/adGroups/{ADGROUP_ID}",
                    "type": "GENDER",
                    "gender": {
                        "type": "MALE"
                    }
                }
            }
        ]
    }'

But I can't see the criteria on the Google Ads interface, can you advise me where it is displayed? 

Thank you

Google Ads API Forum Advisor

unread,
Oct 30, 2023, 3:15:59 AM10/30/23
to m.77.heurtev...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for reaching out to the Google Ads API support team.

By reviewing your concern, I understand that according to the REST documentation you can generate Campaign or AdGroup Criteria through a request, but these criteria are not being displayed within your Google Ads UI. In order to further investigate your issue, kindly provide us with the complete API logs (request and response with request-id and request header) generated at your end and uncropped UI screenshot of the Google Ads account where you are facing the issue.

If you are using a client library and haven't enabled the logging yet, I would request you to enable logging for the specific client library that you are using. You can refer to the guides Java.NetPHPPythonRuby or Perl to enable logging at your end. For REST interface requests, you can enable logging via the curl command by using the -i flag.

You can send the details via Reply privately to the author option, or direct private reply to this email.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02q93u0:ref"

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages