Hello, just wondering if there is any update on this?

On Tuesday, March 27, 2018 at 10:07:43 AM UTC+1, Jay W wrote:
>
>
> Hello,
>
>
> I am trying to create a StructuredSnippetFeedItem using the latest version 
> of the api (201802) but it is setting the locale to nl (Dutch) when it 
> needs to be en-gb. I will put a copy of my code below but i can only assume 
> that it is to do with services being the same in dutch and english.
>
> Is there a way to pass in english in the header or is there something else 
> i'm missing.
>
> I know the code below works because it creates the snippets in adwords, 
> just the wrong locale.
>
>
> $snippets = ['item 1', 'item 2', 'item 3'];
>
> $snip = new StructuredSnippetFeedItem();
> $snip->setHeader('Services');
> $snip->setValues($snippets);
>
> $customerExtensionSetting = new CampaignExtensionSetting();
> $customerExtensionSetting->setCampaignId("google_campagin_id");
> $customerExtensionSetting->setExtensionType(FeedType::STRUCTURED_SNIPPET);
> $customerExtensionSetting->setExtensionSetting(new ExtensionSetting());
> $customerExtensionSetting->getExtensionSetting()->setExtensions([$snip]);
>
> $operation = new CampaignExtensionSettingOperation();
> $operation->setOperator(Operator::ADD);
> $operation->setOperand($customerExtensionSetting);
> $operations = [$operation];
>
> $result = $campaign_extension_setting_service->mutate($operations);
>
>
> I have posted this on git 
> <https://github.com/googleads/googleads-php-lib/issues/472#event-1542433837> 
> as a issue under the php adwords api and i was told to post it here as it's 
> related to the translation of the values on AdWords API server side?
>
>
>
> James
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/c04a3ab0-afdd-41ec-a1e6-374286df9fab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... Get Work
    • ... 'Jay W' via AdWords API and Google Ads API Forum
      • ... 'Peter Oliquino (AdWords API Team)' via AdWords API and Google Ads API Forum
    • ... Sean Hayes
      • ... 'Peter Oliquino (AdWords API Team)' via AdWords API and Google Ads API Forum

Reply via email to