Selecting Affinity audience for display campaign via api but getting this error.

36 views
Skip to first unread message

Sunil Gupta

unread,
Jun 19, 2022, 4:55:43 PM6/19/22
to Google Ads API and AdWords API Forum
// Selecting Affinity audience for display campaign via api but getting this error.

Request :

operations {
  create {
    type: USER_INTEREST
    user_interest {
      user_interest_category: "customers/<CUSTOMER_ID>/userInterests/<CREATION_ID>"
    }
    campaign: "customers/<CUSTOMER_ID>/campaigns/<CAMPAIGN_ID>"
    negative: false
  }
}

response : 

Failure message: errors { error_code { criterion_error: INVALID_USER_INTEREST }

Selected User_interest is not for Display type campaign.

NOTE : not working for display but it is working for Search with same creation Id.

Google Ads API Forum Advisor

unread,
Jun 19, 2022, 10:39:38 PM6/19/22
to sunil....@gmail.com, adwor...@googlegroups.com
Hi Sunil,

Thank you for raising your concern to my team.

Based on this product level document, all Google advertisers can access affinity segments in Search, Display, and Video campaigns so the error should not be encountered. With this, so that I can investigate the issue, please provide the complete request and response logs with request ID and request header generated on your end where we can see the error.

You can provide it via Reply privately to author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.

Regards,
Google Logo
Ernie John
Google Ads API Team
 


ref:_00D1U1174p._5004Q2by2sS:ref
Reply all
Reply to author
Forward
0 new messages