Hi Team, 

I am getting same error with MobileExtension with MutateJobService. Can I 
use CampaignAdExtension in mutateJobService.
On Monday, October 7, 2013 9:59:15 AM UTC+5:30, Takeshi Hagikura (AdWords 
API Team) wrote:
>
> Hi, 
>
> Some extensions (as of now, sitelink, call and app extensions)  are now 
> only managed via feed services.
> (Please see the blog 
> post<http://googleadsdeveloper.blogspot.jp/2013/08/adwords-api-upgrading-your-ad.html>
> )
>
> Please use feed 
> services<https://developers.google.com/adwords/api/docs/guides/feed-services>onward.
>
> Best,
> - Takeshi, AdWords API Team
>
> On Saturday, October 5, 2013 6:35:28 AM UTC+9, Олег Ковалёв wrote:
>>
>> Hi!
>> When I try to add AdExtension (for example MobileExtension) i get an 
>> error [AdExtensionError.INVALID_ADEXTENSION_TYPE @ 
>> operations[0].operand.adExtension]. The same issue with SitelinksExtension. 
>> Adwords PHP library version 4.6.0. But with LocationExtension everything is 
>> OK.
>>
>> Below is a sample of code:
>>         $campaignAdExtensionService =  
>> $user->GetService('CampaignAdExtensionService');
>>         $domainExtension = new SitelinksExtension();
>>         $newsite1 = new Sitelink();
>>         $newsite1->displayText = 'MobilePhones';
>>         $newsite1->destinationUrl = 'http://citrus.ua';
>>         $domainExtension->sitelinks = array($newsite1);
>>         $campaignAdExtension = new CampaignAdExtension();
>>         $campaignAdExtension->campaignId = 152524259;
>>         $campaignAdExtension->adExtension = $domainExtension;
>>         $operation = new CampaignAdExtensionOperation();
>>         $operation->operand = $campaignAdExtension;
>>         $operation->operator = 'ADD';
>>         $operations = array($operation);
>>         $result = $campaignAdExtensionService->mutate($operations);
>>
>> Please, help me
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to