Hi,
We are trying to add a device preference to our campaigns without
success-We are adding the field 'devicePreference' when we 'add' our
textad-please advise on the correct way to upload a device preference for a
specific ad?
_operations = [
{
'operator': 'ADD',
'operand': {
'xsi_type': 'AdGroupAd',
'adGroupId': adgroupid[-1],
'ad': {
#'devicePreference'
:'??',
'xsi_type': 'TextAd',
'devicePreference': '30000',
'url':
'http://www.example.com', #conversion_link
'displayUrl': url,
'description1': description1,
###'Visit the Red Planet in style.',
'description2': description2,
###'Low-gravity fun for everyone!',
'headline': headline
},
# Optional fields.
'status': 'PAUSED'
}
# If needed, you could specify an exemption request here.
# 'exemptionRequests': [{
# # This comes back in a PolicyViolationError.
# 'key' {
# 'policyName': '...',
# 'violatingText': '...'
# }
# }]
}]
Many Thanks,
Tom.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
For more options, visit https://groups.google.com/groups/opt_out.