Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

autocomplete search #12

Closed
sang-d opened this issue Mar 9, 2016 · 3 comments
Closed

autocomplete search #12

sang-d opened this issue Mar 9, 2016 · 3 comments

Comments

@sang-d
Copy link

sang-d commented Mar 9, 2016

Hi,
Does the SDK support autocomplete search for targeting objects such as (location, locale..)
I was trying to use APIRequestGetTargetingSearch class, but couldn't execute on AdAccount Node.

Basically I'm trying to build query like this: search?q=un&type=adgeolocation
Please let me know if I misunderstanding about this functionality.
Thanks,

@JiamingFB
Copy link
Contributor

Hi DINHXUANSANG,

Right now the SDK doesn't have a dedicated class to support search, but you can create an ad-hoc APIRequest to achieve that:

  Map<String, Object> params = new HashMap<>();
  params.put("q", "un");
  params.put("type", "adgeolocation");
  System.out.println(new APIRequest<APINode>(context, "", "search", "GET").execute(params));

@sang-d
Copy link
Author

sang-d commented Mar 10, 2016

thanks JiamingFB, it's helpful!

@ignatda
Copy link

ignatda commented Jan 17, 2019

Hi! Is adgeolocation type still not available for a search by facebook-java-business-sdk?

facebook-github-bot pushed a commit that referenced this issue Jan 24, 2020
)

Summary:
Pull Request resolved: facebook/facebook-business-sdk-codegen#12

We throw an error if the user sets a MD5| SHA256 hashed data for PII fields. This is added for other languages and now it is added to Java.

Reviewed By: vinothsa

Differential Revision: D19420486

fbshipit-source-id: 823be034
jlavera pushed a commit to order-metrics/facebook-java-business-sdk that referenced this issue Sep 29, 2020
…acebook#12)

Summary:
Pull Request resolved: facebook/facebook-business-sdk-codegen#12

We throw an error if the user sets a MD5| SHA256 hashed data for PII fields. This is added for other languages and now it is added to Java.

Reviewed By: vinothsa

Differential Revision: D19420486

fbshipit-source-id: 823be034
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants