Update:

If I set the parameter sitelinkUrl to http://sitelinke.com - it throws 
DESTINATION_URL_DEPRECATED error
But, if I set sitelinkFinalUrls like this,
"sitelinkFinalUrls" : {
          "urls" : [ "http://cs.com"; ]
        }
then it works.

Is it not possible to set value for sitelinkUrl parameter? I do not see any 
documentation mentioning this parameter is deprecated. Please clarify.

Suresh.

On Wednesday, August 21, 2019 at 10:45:26 PM UTC+5:30, Suresh Kumar 
Shenbagam wrote:
>
> Hi Pete,
>
> Thanks for the response. I am setting the below url,
>
> "sitelinkUrl":"http://sitelinke.com";
>
> Suresh
>
> On Wednesday, August 21, 2019 at 5:54:28 PM UTC+5:30, Pete Lavetsky 
> (AdWords API Guru) wrote:
>>
>> Suresh,
>>
>> What is the destination URL you're attempting to set?
>>
>> Pete
>>
>> On Wednesday, August 21, 2019 at 6:33:51 AM UTC-4, Suresh Kumar Shenbagam 
>> wrote:
>>>
>>> Hi,
>>>
>>> Language: Java.
>>>
>>> I am trying to create Sitelink extension for a campaign and I am not 
>>> able to set value to sitelinkUrl parameter and am getting the following 
>>> exception,
>>>
>>>  [main] ERROR c.c.a.ErrorContainer [] - ApiException{
>>> applicationExceptionType=ApiException, errors=[UrlError{apiErrorType=
>>> UrlError, errorString=UrlError.DESTINATION_URL_DEPRECATED, fieldPath=
>>> operations[0].operand.extensionSetting.extensions[0].sitelinkUrl, 
>>> fieldPathElements=[FieldPathElement{field=operations, index=0}, 
>>> FieldPathElement{field=operand}, FieldPathElement{field=extensionSetting
>>> }, FieldPathElement{field=extensions, index=0}, FieldPathElement{field=
>>> sitelinkUrl}], reason=DESTINATION_URL_DEPRECATED, trigger=}]}
>>>
>>>
>>> Is this normal? How can I set the sitelink url for this extension 
>>> through Adwords Java API?
>>>
>>> Suresh
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/77d09655-f3d8-4de0-bf85-b08c38c27d0e%40googlegroups.com.

Reply via email to