Hello,
I am trying to add a targeting criteria to a campaign/adgroup but it keeps
raising the same error. I am trying to add a user interest (affinity
audiences and in-market) criteria to an specific campaign but it gives me
the following error:
suds.WebFault: Server raised fault:
'[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @
com.google.ads.api.services.common.error.InternalApiError.<init>(InternalApiErro]'
The code snippet I use is:
operations.append({
'operator': 'ADD',
'operand': {
'xsi_type': 'BiddableAdGroupCriterion',
'adGroupId': ad_group_id,
'criterion': {
'xsi_type': 'CriterionUserInterest',
# Create gender criteria. The IDs can be found in the
# documentation:
# https://developers.google.com/adwords/api/docs/appendix/genders.
'id': INTEREST
}
}
})
response = ad_group_criterion_service.mutate(operations)
Also, when I try to get all the targetable user interests via
constant_data_service.getUserInterestCriterion()
it throws a similar error.
I would appreciate if you could help me.
Thank you,
Best,
Santi
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/9012eb6c-8fe1-408c-837d-bf9ceaeb52f1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.