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

Issue with UrlPath and query strings #154

Open
coleh33 opened this issue Mar 14, 2019 · 0 comments
Open

Issue with UrlPath and query strings #154

coleh33 opened this issue Mar 14, 2019 · 0 comments

Comments

@coleh33
Copy link

coleh33 commented Mar 14, 2019

I am having an issue getting a line item to display only on the homepage of a site.

I have went into Google Ad Manager and setup the key/value pair UrlPath and it works for targeting specific URLs "/page-name" however in my case I want to target just the homepage for some line items. I setup the rule "/" and it works fine by not showing on other pages except one page in particular. This is the ?s= query string that shows up in WordPress when someone searches with the search bar.

Is it possible the JQuery DFP library is stripping off the /?s= at the end and sending the page URL as "/" so Ad Manager is tricked into thinking it meets the rule? Trying to find out how I can get Ad Manager to recognize the /?s= doesn't meet the "/" UrlPath rule.

Thanks

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

1 participant