mirror-media / plate-vue-dfp

A package for google dfp in framwork vue.
5 stars 3 forks source link

Config #9

Closed jzkitchen closed 7 years ago

jzkitchen commented 7 years ago

How can I find out the information to fill in sectionId, aduid ? I am confused about all these options...

chiangkeith commented 7 years ago

hi @jzkitchen , will update the doc and talk about the usage in days.

jzkitchen commented 7 years ago

thx a lot. I spend few days to read articles about implementation of DFP in Vue. Your code will be very helpful!

chiangkeith commented 7 years ago

Hello @jzkitchen , Regarding sectionid, you can set any value of string you want it to be. It's a reference for VueDfpProvider to know which setting you're about to use in the array adunits:

adunits: {
  'section-id': {
    'POSITION1': { 'aduid': 'ADUNIT-ID-1', ... },
    'POSITION2': { ... }
  },
  'section-id2': { ... }
}

And aduid is the unit code that should be offered as soon as you build any ad unit on DFP system. (checkout ad unit)