Hello,

We're trying to add filtering on a Local Campaign to target specific 
stores.To do so we're creating a campaignFeed to filterer the locations. 
(GMB is linked to the GA account and the CustomerFeed is created and 
active).

CampaignFeed campaignFeed = CampaignFeed.newBuilder()
.setFeed(#gmbFeedResourceName#)
.setCampaign(#myGoogleLocalCampaingRessourceName#)
.addPlaceholderTypes(PlaceholderType.LOCATION)
.setMatchingFunction(MatchingFunction.newBuilder().setFunctionString("CONTAINS_ANY(FeedAttribute[#FeedId#,14],
 
{\"#StoreLabel#\}")").build()
).build()

When doing the mutation we're getting this error : 

Body: null
Failure message: errors {
  error_code {
    function_error: INVALID_FUNCTION_FOR_PLACEHOLDER
  }
  message: "The matching function is not allowed for the specified 
placeholder"
  trigger {
    string_value: ""
  }
  location {
    field_path_elements {
      field_name: "operations"
      index: 0
    }
    field_path_elements {
      field_name: "create"
    }
    field_path_elements {
      field_name: "matching_function"
    }
  }
}

Are we doing something wrong ? Can we use campaignFeed with the Location 
Placeholder on a Local Campaign. Strangely, it seems to work at the adgroup 
level. 

Thanks,

Hugo



-- 




You received this electronic message as part of a business or 
employment relationship with one or several S4M entities. Its content is 
strictly confidential and is covered by the obligation of confidentiality 
and business secrecy. Any dissemination, copying, printing distribution, 
retention or use of the message’s content or any attachments that could be 
detrimental to S4M is forbidden, even if it was forwarded by mailing lists. 

If you are not the intended recipient, please notify the sender of the 
error without delay and delete permanently this email and any files from 
your system and destroy any printed copies. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b031f63b-a435-42e0-9b49-fae654559c4cn%40googlegroups.com.

Reply via email to