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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃敟馃悰update yahoonativeads script and example [amp-embed type=yahoonativeads] #24330

Merged
merged 1 commit into from Sep 5, 2019
Merged

Conversation

dysfunc
Copy link
Contributor

@dysfunc dysfunc commented Sep 2, 2019

Updating the current yahoonativeads ad integration

  • Switch to new production native.js
  • Update props, readme, and example

@dysfunc dysfunc changed the title 馃敟馃悰update [amp-embed] type=yahoonativeads script and example 馃敟馃悰update yahoonativeads script and example [amp-embed type=yahoonativeads] Sep 2, 2019
@dysfunc
Copy link
Contributor Author

dysfunc commented Sep 5, 2019

@calebcordry :) please

@calebcordry calebcordry self-requested a review September 5, 2019 16:28
});
});
global.apiKey = data.key;
global.publisherUrl = data.url;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't see your JS but one thing we generally recommend is to make sure you URL encode these values before trying to send requests.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be clear - I mean doing this in your external JS if it's not already there.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, of course

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

glad you're calling that out in PRs 馃憤

@calebcordry calebcordry merged commit 89e5557 into ampproject:master Sep 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants