Hi all
We have made a change to our API integration that now sets the finalUrls
value and not the destinationUrl on a BiddableAdGroupCriterion when adding
a keyword to an AdGroup and Campaign.
We have been seeing a couple of weird errors though
1. When adding a COMPLETELY NEW campaign i can create a
BiddableAdGroupCriterion and set the finalUrls value (new string[]
{"myurl"}) and i do nothing with the destinationUrl property. My keyword is
created no problem. HOWEVER when i try to apply the same logic to adding a
new keyword to a campaign that already exists (but has yet to be migrated
(i.e. it isn't July yet)) I am getting this error ....
*AdGroupCriterionError.CANNOT_SET_BOTH_DESTINATION_URL_AND_FINAL_URLS*
This, i cannot understand because i removed the code that would set my url
to the old destinationUrl property, and coded up the setting of the
finalUrls.
Does your whole campaign have to have been migrated before you can start to
add new entities with a finalUrls value ? Are you not allowed to have
keywords in a campaign that some have destinationUrl set and others have
finalUrls set ??
I have read that a work around might be to set the detinationUrl to null or
an empty string, but that seems to be a hack and in any way the
destinationUrl is readonly as of july 1st so trying to set it after that
time will give me an error i believe
2. Our internal processes caused a duplication of several new keywords we
were adding. All with the finalUrls set, but for whatever reason we created
pairs of identical keywords to be added in 1 api call. All good, and we
have built in management to account for the errors given back by the
interface, BUT the error we got is a little misleading - if indeed it
actually means "you have a duplicate in your request" - the error we are
getting is ...
*AdGroupCriterionError.CANNOT_MODIFY_URL_FIELDS_WITH_DUPLICATE_ELEMENTS*
We would have expected an error like "DUPLICATE_ELEMENT" or something, if
indeed this is a duplicate error issue
Anyhow, many thanks in advance
Giles
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/149c3987-d097-4f7b-8666-a6b9d21ab2ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.